aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-11-04 17:55:56 +0100
committerMarton Balint <cus@passwd.hu>2011-11-05 00:25:07 +0100
commit304ec08f3b3b4c256b44da3e5dc56219eff62a5d (patch)
tree4ab08d61adbb8f1954245ab00f0fe14346a7bde3
parent8b1032c923af5b7360eac2cf8c1535256a5d4d92 (diff)
downloadffmpeg-304ec08f3b3b4c256b44da3e5dc56219eff62a5d.tar.gz
ffplay: Avoid useage of deprecated url_fileno().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index f58fabc13c..ebcb8c04c3 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -2546,7 +2546,7 @@ static int read_thread(void *arg)
#if CONFIG_RTSP_DEMUXER || CONFIG_MMSH_PROTOCOL
if (is->paused &&
(!strcmp(ic->iformat->name, "rtsp") ||
- (ic->pb && !strcmp(url_fileno(ic->pb)->prot->name, "mmsh")))) {
+ (ic->pb && !strncmp(input_filename, "mmsh:", 5)))) {
/* wait 10 ms to avoid trying to get another packet */
/* XXX: horrible */
SDL_Delay(10);