Browse Source

fix memleak in packet corrupt dropping code

tags/n0.9
Chris Kennedy Michael Niedermayer 14 years ago
parent
commit
c108a4aa1e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavformat/utils.c

+ 1
- 0
libavformat/utils.c View File

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




Loading…
Cancel
Save