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
|
@ -531,7 +531,7 @@ static av_cold int swf_read_close(AVFormatContext *avctx)
|
|||
inflateEnd(&s->zstream);
|
||||
av_freep(&s->zbuf_in);
|
||||
av_freep(&s->zbuf_out);
|
||||
av_freep(&s->zpb);
|
||||
avio_context_free(&s->zpb);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue