diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-03-21 16:08:31 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-08-08 16:20:58 +0200 |
commit | 9139ea4c8d1c1539f96c516b224922097d16a5b4 (patch) | |
tree | 449aeceebaa91b27ff0f5d40eb3a6f9e2f0f99d6 /fftools | |
parent | 889b4b2f60f6a760e49e9d29323af24befa39617 (diff) | |
download | ffmpeg-9139ea4c8d1c1539f96c516b224922097d16a5b4.tar.gz |
fftools/ffmpeg: drop a superfluous stack variable
Diffstat (limited to 'fftools')
-rw-r--r-- | fftools/ffmpeg.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 7f5c6690dd..159d54d972 100644 --- a/fftools/ffmpeg.c +++ b/fftools/ffmpeg.c @@ -3904,16 +3904,14 @@ static int process_input(int file_index) return ret; } if (ret < 0 && ifile->loop) { - AVCodecContext *avctx; for (i = 0; i < ifile->nb_streams; i++) { ist = input_streams[ifile->ist_index + i]; - avctx = ist->dec_ctx; if (ist->processing_needed) { ret = process_input_packet(ist, NULL, 1); if (ret>0) return 0; if (ist->decoding_needed) - avcodec_flush_buffers(avctx); + avcodec_flush_buffers(ist->dec_ctx); } } free_input_thread(file_index); |