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 /tests/api/api-seek-test.c | |
parent | 9dfb19baeb86a8bb02c53a441682c6e9a6e104cc (diff) |
Remove unnecessary use of avcodec_close().
Replace it with avcodec_free_context() or drop it completely as
appropriate.
Diffstat (limited to 'tests/api/api-seek-test.c')
-rw-r--r-- | tests/api/api-seek-test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/api/api-seek-test.c b/tests/api/api-seek-test.c index d0531a2f73..ae33581244 100644 --- a/tests/api/api-seek-test.c +++ b/tests/api/api-seek-test.c @@ -266,7 +266,6 @@ end: av_freep(&crc_array); av_freep(&pts_array); av_frame_free(&fr); - avcodec_close(ctx); avformat_close_input(&fmt_ctx); avcodec_free_context(&ctx); return result; |