Lines Matching defs:packet_size
41 unsigned int frame_type, packet_size;
44 packet_size = AV_RB32(buf + 4);
46 if (!AV_RB16(buf) && frame_type <= LMLM4_MPEG1L2 && packet_size &&
47 frame_type != LMLM4_INVALID && packet_size <= LMLM4_MAX_PACKET_SIZE) {
52 * packet_size-8, but that seems overkill */
87 unsigned int frame_type, packet_size, padding, frame_size;
91 packet_size = avio_rb32(pb);
92 padding = -packet_size & 511;
93 frame_size = packet_size - 8;
99 if (packet_size > LMLM4_MAX_PACKET_SIZE || packet_size<=8) {
100 av_log(s, AV_LOG_ERROR, "packet size %d is invalid\n", packet_size);