diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-04 17:55:56 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2011-11-05 00:25:07 +0100 |
commit | 304ec08f3b3b4c256b44da3e5dc56219eff62a5d (patch) | |
tree | 4ab08d61adbb8f1954245ab00f0fe14346a7bde3 | |
parent | 8b1032c923af5b7360eac2cf8c1535256a5d4d92 (diff) | |
download | ffmpeg-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |