summaryrefslogtreecommitdiff
path: root/libavformat/flvdec.c
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2015-10-27 14:35:30 +0100
commitc2f861ca42fa1a2fb6f7e85abb7bd44f39c6f2c4 (patch)
treefd5a76e51fa3eb2b90deafbb6c0c48a127be42a9 /libavformat/flvdec.c
parent7f5af80ba42bbd82da53dfd95236e9d47159a96a (diff)
Replace remaining occurances of av_free_packet with av_packet_unref
Diffstat (limited to 'libavformat/flvdec.c')
-rw-r--r--libavformat/flvdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 7b434498ea..ca73969315 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -1143,7 +1143,7 @@ leave:
av_log(s, AV_LOG_ERROR, "Packet mismatch %d %d\n", last, orig_size + 11);
avio_seek(s->pb, pos + 1, SEEK_SET);
ret = resync(s);
- av_free_packet(pkt);
+ av_packet_unref(pkt);
if (ret >= 0) {
goto retry;
}