Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2017-03-02 12:38:44 +0300
committerwm4 <nfxjfg@googlemail.com>2017-03-06 13:08:03 +0300
commit808ab2fd0ba26ecb70655ec990748b16f30017bf (patch)
tree098e071bd0c41732f44f0a66602d768b98143a72 /ffmpeg.c
parenta755b725ec1d657609c8bd726ce37e7cf193d03f (diff)
ffmpeg: remove unnecessary hack for decoders which refuse to drain
Now the previous commit takes care of this instead.
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index db7e8cd0c6..79c91ffc1e 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2652,12 +2652,6 @@ static int process_input_packet(InputStream *ist, const AVPacket *pkt, int no_eo
ist->file_index, ist->st->index, av_err2str(ret));
if (exit_on_error)
exit_program(1);
- // Decoding might not terminate if we're draining the decoder, and
- // the decoder keeps returning an error.
- // This should probably be considered a libavcodec issue.
- // Sample: fate-vsynth1-dnxhd-720p-hr-lb
- if (!pkt)
- eof_reached = 1;
break;
}