OSDN Git Service

remove CONFIG_NETWORK, av_read_play/pause are exported anyway
authorAlex Beregszaszi <alex@rtfs.hu>
Thu, 26 Apr 2007 22:23:00 +0000 (22:23 +0000)
committerAlex Beregszaszi <alex@rtfs.hu>
Thu, 26 Apr 2007 22:23:00 +0000 (22:23 +0000)
Originally committed as revision 8839 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffplay.c

index 062c4eb..23917ac 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -1995,7 +1995,6 @@ static int decode_thread(void *arg)
     for(;;) {
         if (is->abort_request)
             break;
-#ifdef CONFIG_NETWORK
         if (is->paused != is->last_paused) {
             is->last_paused = is->paused;
             if (is->paused)
@@ -2003,7 +2002,6 @@ 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 */