diff options
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index d240fa68bd..b7bd54dedf 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1496,7 +1496,7 @@ resync: } if (!avi->non_interleaved && pkt->pos >= 0 && ast->seek_pos > pkt->pos) { - av_free_packet(pkt); + av_packet_unref(pkt); goto resync; } ast->seek_pos= 0; |