diff options
Diffstat (limited to 'libavformat/hnm.c')
-rw-r--r-- | libavformat/hnm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/hnm.c b/libavformat/hnm.c index 54ac6c2..31fc42e 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; } |