diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-11-04 20:55:56 +0400 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2011-11-05 03:25:07 +0400 |
commit | 304ec08f3b3b4c256b44da3e5dc56219eff62a5d (patch) | |
tree | 4ab08d61adbb8f1954245ab00f0fe14346a7bde3 /ffplay.c | |
parent | 8b1032c923af5b7360eac2cf8c1535256a5d4d92 (diff) |
ffplay: Avoid useage of deprecated url_fileno().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'ffplay.c')
-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); |