diff options
author | Anton Khirnov <anton@khirnov.net> | 2017-01-13 12:04:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2017-02-11 11:37:45 +0100 |
commit | 6f554521afdf7ab4edbfaa9536660a1dca946b19 (patch) | |
tree | 0a75f66dd0a227def77b5bf490b303182269e0a6 /libavformat/tests | |
parent | 99684f3ae752fc8bfb44a2dd1482f8d7a3d8536d (diff) | |
download | ffmpeg-6f554521afdf7ab4edbfaa9536660a1dca946b19.tar.gz |
Use the new AVIOContext destructor.
Diffstat (limited to 'libavformat/tests')
-rw-r--r-- | libavformat/tests/movenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index 05432eb488..583a8d9ca4 100644 --- a/libavformat/tests/movenc.c +++ b/libavformat/tests/movenc.c @@ -338,7 +338,7 @@ static void signal_init_ts(void) static void finish(void) { av_write_trailer(ctx); - av_free(ctx->pb); + avio_context_free(&ctx->pb); avformat_free_context(ctx); ctx = NULL; } |