Commit c108a4aa authored by Chris Kennedy's avatar Chris Kennedy Committed by Michael Niedermayer

fix memleak in packet corrupt dropping code

parent c4e02d34
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment