diff mbox

[FFmpeg-devel,v2,2/2] ffmpeg: remove unnecessary hack for decoders which refuse to drain

Message ID 20170302094524.10628-2-nfxjfg@googlemail.com
State Accepted
Commit 808ab2fd0ba26ecb70655ec990748b16f30017bf
Headers show

Commit Message

wm4 March 2, 2017, 9:45 a.m. UTC
Now the previous commit takes care of this instead.
---
 ffmpeg.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox

Patch

diff --git a/ffmpeg.c b/ffmpeg.c
index 38395e7598..ee791d68a3 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -2529,12 +2529,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;
         }