Message ID | 20221126081911.31275-1-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 630fbdcc526c919986ff8ccc6712653ff1ef637b |
Headers | show |
Series | [FFmpeg-devel,01/13] fftools/ffmpeg: stop explicitly closing decoders | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 3767ab444b..ba91af2c95 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3908,13 +3908,6 @@ static int transcode(void) exit_program(1); } - /* close each decoder */ - for (ist = ist_iter(NULL); ist; ist = ist_iter(ist)) { - if (ist->decoding_needed) { - avcodec_close(ist->dec_ctx); - } - } - hw_device_free_all(); /* finished ! */