Lines Matching refs:RoQ_CHUNK_PREAMBLE_SIZE
37 #define RoQ_CHUNK_PREAMBLE_SIZE 8
75 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE];
78 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) !=
79 RoQ_CHUNK_PREAMBLE_SIZE)
103 unsigned char preamble[RoQ_CHUNK_PREAMBLE_SIZE];
113 if ((ret = avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE)) !=
114 RoQ_CHUNK_PREAMBLE_SIZE)
137 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) != RoQ_CHUNK_PREAMBLE_SIZE)
144 avio_skip(pb, RoQ_CHUNK_PREAMBLE_SIZE);
151 codebook_offset = avio_tell(pb) - RoQ_CHUNK_PREAMBLE_SIZE;
154 if (avio_read(pb, preamble, RoQ_CHUNK_PREAMBLE_SIZE) !=
155 RoQ_CHUNK_PREAMBLE_SIZE)
157 chunk_size = AV_RL32(&preamble[2]) + RoQ_CHUNK_PREAMBLE_SIZE * 2 +
205 if (av_new_packet(pkt, chunk_size + RoQ_CHUNK_PREAMBLE_SIZE))
208 memcpy(pkt->data, preamble, RoQ_CHUNK_PREAMBLE_SIZE);
220 ret = avio_read(pb, pkt->data + RoQ_CHUNK_PREAMBLE_SIZE,