fix memleak in packet corrupt dropping code

pull/2/head
Chris Kennedy 13 years ago committed by Michael Niedermayer
parent c4e02d3432
commit c108a4aa1e
  1. 1
      libavformat/utils.c

@ -756,6 +756,7 @@ int av_read_packet(AVFormatContext *s, AVPacket *pkt)
av_log(s, AV_LOG_WARNING,
"Dropped corrupted packet (stream = %d)\n",
pkt->stream_index);
av_free_packet(pkt);
continue;
}

Loading…
Cancel
Save