properly check for CONFIG_RTSP_DEMUXER

Originally committed as revision 8836 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Beregszaszi 2007-04-26 18:11:36 +00:00
parent cfc970772d
commit 9825d074b4
1 changed files with 2 additions and 0 deletions

View File

@ -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 */