[FFmpeg-cvslog] Fix compilation with --disable-avfilter.

Carl Eugen Hoyos git at videolan.org
Tue Aug 16 23:33:43 CEST 2011


ffmpeg | branch: release/0.7 | Carl Eugen Hoyos <cehoyos at ag.or.at> | Tue Aug 16 23:31:09 2011 +0200| [87757508abe36dd376093c59f00db41fe15d76a5] | committer: Carl Eugen Hoyos

Fix compilation with --disable-avfilter.
(cherry picked from commit 67a8251690a17f05630eb6f45a73db0f0e806c72)

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=87757508abe36dd376093c59f00db41fe15d76a5
---

 ffplay.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index c417096..b79df97 100644
--- 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);
 



More information about the ffmpeg-cvslog mailing list