[FFmpeg-devel] [PATCH 2/4] ffplay: remove no longer necessary codec flush

Marton Balint cus at passwd.hu
Tue Dec 3 21:01:24 CET 2013


It was introduced in c2e8691c07ca52de7b6b00ba8f2b30c56fd786d7, but since we no
longer no longer provide a custom get_buffer callback, the original cause of
the issue is gone.

Signed-off-by: Marton Balint <cus at passwd.hu>
---
 ffplay.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ffplay.c b/ffplay.c
index 104598b..2eba224 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1990,7 +1990,6 @@ static int video_thread(void *arg)
             goto the_end;
     }
  the_end:
-    avcodec_flush_buffers(is->video_st->codec);
 #if CONFIG_AVFILTER
     avfilter_graph_free(&graph);
 #endif
-- 
1.8.4



More information about the ffmpeg-devel mailing list