mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-15 01:08:30 +00:00
Use the new AVIOContext destructor.
(cherry picked from commit 6f554521af
)
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
b12e4d3bb8
commit
78a7af823b
10 changed files with 11 additions and 11 deletions
|
@ -569,7 +569,7 @@ static int open_null_ctx(AVIOContext **ctx)
|
|||
static void close_null_ctxp(AVIOContext **pb)
|
||||
{
|
||||
av_freep(&(*pb)->buffer);
|
||||
av_freep(pb);
|
||||
avio_context_free(pb);
|
||||
}
|
||||
|
||||
static int select_reference_stream(AVFormatContext *s)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue