mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
ffplay: Avoid useage of deprecated url_fileno().
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
8b1032c923
commit
304ec08f3b
2
ffplay.c
2
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);
|
||||
|
Loading…
Reference in New Issue
Block a user