Fix compilation with --disable-avfilter.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 16 Aug 2011 21:31:09 +0000 (23:31 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Tue, 16 Aug 2011 21:32:06 +0000 (23:32 +0200)
(cherry picked from commit 67a8251690a17f05630eb6f45a73db0f0e806c72)

ffplay.c

index 8788771..6eefee6 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1779,8 +1779,10 @@ static int video_thread(void *arg)
 
         if (ret < 0) goto the_end;
 
+#if CONFIG_AVFILTER
         if (!picref)
             continue;
+#endif
 
         pts = pts_int*av_q2d(is->video_st->time_base);