ffplay: remove no longer necessary codec flush
authorMarton Balint <cus@passwd.hu>
Sat, 30 Nov 2013 20:18:05 +0000 (21:18 +0100)
committerMarton Balint <cus@passwd.hu>
Fri, 6 Dec 2013 18:57:45 +0000 (19:57 +0100)
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@passwd.hu>
ffplay.c

index 104598b..2eba224 100644 (file)
--- 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