Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/brstm.c')
-rw-r--r--libavformat/brstm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/brstm.c b/libavformat/brstm.c
index a781163f95..4ac9881c99 100644
--- a/libavformat/brstm.c
+++ b/libavformat/brstm.c
@@ -412,7 +412,7 @@ static int read_packet(AVFormatContext *s, AVPacket *pkt)
dst += size;
avio_skip(s->pb, skip);
if (ret != size) {
- av_free_packet(pkt);
+ av_packet_unref(pkt);
break;
}
}