Lines Matching refs:frame_size
165 unsigned int frame_size;
198 frame_size = bytestream2_get_le32(&g2);
199 if (frame_size > buf_size)
200 frame_size = buf_size;
205 frame_size -= 16;
208 while ((frame_size >= 6) && (num_chunks > 0) &&
212 if (chunk_size > frame_size) {
214 "Invalid chunk_size = %u > frame_size = %u\n", chunk_size, frame_size);
215 chunk_size = frame_size;
451 frame_size -= chunk_size;
489 unsigned int frame_size;
516 frame_size = bytestream2_get_le32(&g2);
520 if (frame_size > buf_size)
521 frame_size = buf_size;
523 frame_size -= 16;
526 while ((frame_size > 0) && (num_chunks > 0) &&
530 if (chunk_size > frame_size) {
532 "Invalid chunk_size = %u > frame_size = %u\n", chunk_size, frame_size);
533 chunk_size = frame_size;
744 frame_size -= chunk_size;