mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 11:44:44 +00:00
remove CONFIG_NETWORK, av_read_play/pause are exported anyway
Originally committed as revision 8839 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
4ee10633d2
commit
5ad751471c
2
ffplay.c
2
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 */
|
||||
|
Loading…
Reference in New Issue
Block a user