aboutsummaryrefslogtreecommitdiffstats
path: root/ffplay.c
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-09-10 22:48:42 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-09-10 22:48:42 +0000
commitb156b88c13ddc9b6bbd5d60f85328fea5a7fd9cf (patch)
tree32c8e98835dc90203bdfc7cc30430523a3fa362c /ffplay.c
parentac6577cd71e5d2e48728a04a4050a28b454d4ed5 (diff)
downloadffmpeg-b156b88c13ddc9b6bbd5d60f85328fea5a7fd9cf.tar.gz
rtp and rtsp demuxer declarations are not part of public API
Originally committed as revision 10474 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index f39fdb1343..bf109ad1e9 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1974,7 +1974,7 @@ static int decode_thread(void *arg)
av_read_play(ic);
}
#ifdef CONFIG_RTSP_DEMUXER
- if (is->paused && ic->iformat == &rtsp_demuxer) {
+ if (is->paused && !strcmp(ic->iformat->name, "rtsp")) {
/* wait 10 ms to avoid trying to get another packet */
/* XXX: horrible */
SDL_Delay(10);