Lines Matching refs:packet_length
898 uint32_t packet_length, padsize;
945 DO_2BITS(asf->packet_flags >> 5, packet_length, s->packet_size);
950 if (!packet_length || packet_length >= (1U << 29)) {
952 "invalid packet_length %"PRIu32" at:%"PRId64"\n",
953 packet_length, avio_tell(pb));
956 if (padsize >= packet_length) {
974 if (rsize > packet_length - padsize) {
978 rsize, packet_length, padsize, avio_tell(pb));
981 asf->packet_size_left = packet_length - padsize - rsize;
982 if (packet_length < asf->hdr.min_pktsize)
983 padsize += asf->hdr.min_pktsize - packet_length;