Commit 5ad75147 authored by Alex Beregszaszi's avatar Alex Beregszaszi
Browse files

remove CONFIG_NETWORK, av_read_play/pause are exported anyway

Originally committed as revision 8839 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 4ee10633
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment