fftools/ffmpeg: stop explicitly closing decoders

It serves no purpose, they will be closed and freed in
avcodec_free_context() called from ist_free().
pull/388/head
Anton Khirnov 2 years ago
parent e8e9950f2a
commit 630fbdcc52
  1. 7
      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 ! */

Loading…
Cancel
Save