mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-17 22:31:18 +08:00
Use the new AVIOContext destructor.
(cherry picked from commit 6f554521af
)
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:

committed by
James Almer

parent
b12e4d3bb8
commit
78a7af823b
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user