提交 5ad75147 编写于 作者: A Alex Beregszaszi

remove CONFIG_NETWORK, av_read_play/pause are exported anyway

Originally committed as revision 8839 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册