properly check for CONFIG_RTSP_DEMUXER
authorAlex Beregszaszi <alex@rtfs.hu>
Thu, 26 Apr 2007 18:11:36 +0000 (18:11 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Thu, 26 Apr 2007 18:11:36 +0000 (18:11 +0000)
Originally committed as revision 8836 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 51495d2..062c4eb 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2003,6 +2003,8 @@ static int decode_thread(void *arg)
             else
                 av_read_play(ic);
         }
+#endif
+#ifdef CONFIG_RTSP_DEMUXER
         if (is->paused && ic->iformat == &rtsp_demuxer) {
             /* wait 10 ms to avoid trying to get another packet */
             /* XXX: horrible */