diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-05-27 09:30:46 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-06-10 11:31:16 +0200 |
commit | 0d6b4351c64664d8c2f56d0ddb5e38b800ed8751 (patch) | |
tree | 8e90e756ec588f3a34b740284f5ec8da315bd5c8 /libavcodec/tests | |
parent | 9dfb19baeb86a8bb02c53a441682c6e9a6e104cc (diff) | |
download | ffmpeg-0d6b4351c64664d8c2f56d0ddb5e38b800ed8751.tar.gz |
Remove unnecessary use of avcodec_close().
Replace it with avcodec_free_context() or drop it completely as
appropriate.
Diffstat (limited to 'libavcodec/tests')
-rw-r--r-- | libavcodec/tests/options.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/tests/options.c b/libavcodec/tests/options.c index 2e19a6eac2..010e3c0145 100644 --- a/libavcodec/tests/options.c +++ b/libavcodec/tests/options.c @@ -167,7 +167,6 @@ static void test_copy(const AVCodec *c1, const AVCodec *c2) avcodec_copy_context(ctx2, ctx1); test_copy_print_codec(ctx1); test_copy_print_codec(ctx2); - avcodec_close(ctx1); } avcodec_free_context(&ctx1); avcodec_free_context(&ctx2); |