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 9816a1dfac..b8a31dcff2 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1124,7 +1124,7 @@ static int read_gab2_sub(AVFormatContext *s, AVStream *st, AVPacket *pkt) error: av_freep(&ast->sub_ctx); - av_freep(&pb); + avio_context_free(&pb); } return 0; } |