Searched refs:MM_PREAMBLE_SIZE (Results 1 – 2 of 2) sorted by relevance
39 #define MM_PREAMBLE_SIZE 6 macro64 if (p->buf_size < MM_HEADER_LEN_AV + MM_PREAMBLE_SIZE) in probe()143 unsigned char preamble[MM_PREAMBLE_SIZE]; in read_packet()149 if (avio_read(pb, preamble, MM_PREAMBLE_SIZE) != MM_PREAMBLE_SIZE) { in read_packet()165 if ((ret = av_new_packet(pkt, length + MM_PREAMBLE_SIZE)) < 0) in read_packet()167 memcpy(pkt->data, preamble, MM_PREAMBLE_SIZE); in read_packet()168 if (avio_read(pb, pkt->data + MM_PREAMBLE_SIZE, length) != length) in read_packet()170 pkt->size = length + MM_PREAMBLE_SIZE; in read_packet()
39 #define MM_PREAMBLE_SIZE 6 macro197 if (buf_size < MM_PREAMBLE_SIZE) in mm_decode_frame()200 buf += MM_PREAMBLE_SIZE; in mm_decode_frame()201 buf_size -= MM_PREAMBLE_SIZE; in mm_decode_frame()