summaryrefslogtreecommitdiff
path: root/libavformat/hnm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/hnm.c')
-rw-r--r--libavformat/hnm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hnm.c b/libavformat/hnm.c
index 54ac6c2ce4..31fc42e05d 100644
--- a/libavformat/hnm.c
+++ b/libavformat/hnm.c
@@ -190,7 +190,7 @@ static int hnm_read_close(AVFormatContext *s)
Hnm4DemuxContext *hnm = s->priv_data;
if (hnm->vpkt.size > 0)
- av_free_packet(&hnm->vpkt);
+ av_packet_unref(&hnm->vpkt);
return 0;
}