[FFmpeg-cvslog] ffplay: Avoid useage of deprecated url_fileno().

Michael Niedermayer git at videolan.org
Sat Nov 5 19:06:34 CET 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov  4 17:55:56 2011 +0100| [304ec08f3b3b4c256b44da3e5dc56219eff62a5d] | committer: Marton Balint

ffplay: Avoid useage of deprecated url_fileno().

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
Signed-off-by: Marton Balint <cus at passwd.hu>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=304ec08f3b3b4c256b44da3e5dc56219eff62a5d
---

 ffplay.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ffplay.c b/ffplay.c
index f58fabc..ebcb8c0 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);



More information about the ffmpeg-cvslog mailing list