mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-28 12:32:17 +02:00
fftools/ffmpeg: drop a superfluous stack variable
This commit is contained in:
parent
889b4b2f60
commit
9139ea4c8d
@ -3904,16 +3904,14 @@ static int process_input(int file_index)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
if (ret < 0 && ifile->loop) {
|
if (ret < 0 && ifile->loop) {
|
||||||
AVCodecContext *avctx;
|
|
||||||
for (i = 0; i < ifile->nb_streams; i++) {
|
for (i = 0; i < ifile->nb_streams; i++) {
|
||||||
ist = input_streams[ifile->ist_index + i];
|
ist = input_streams[ifile->ist_index + i];
|
||||||
avctx = ist->dec_ctx;
|
|
||||||
if (ist->processing_needed) {
|
if (ist->processing_needed) {
|
||||||
ret = process_input_packet(ist, NULL, 1);
|
ret = process_input_packet(ist, NULL, 1);
|
||||||
if (ret>0)
|
if (ret>0)
|
||||||
return 0;
|
return 0;
|
||||||
if (ist->decoding_needed)
|
if (ist->decoding_needed)
|
||||||
avcodec_flush_buffers(avctx);
|
avcodec_flush_buffers(ist->dec_ctx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
free_input_thread(file_index);
|
free_input_thread(file_index);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user