Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-30 01:29:27 +0300
committerMarton Balint <cus@passwd.hu>2018-01-29 01:06:43 +0300
commit25a2d269bdd919e633e202b67927c3c72f9f0dd5 (patch)
treeb704890db0eef099f1e8203cfe056e3567b00063 /fftools/ffplay.c
parentea3672b7d67c432724bdbc8de0221f869b6a04c6 (diff)
fftools, tools, examples: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r--fftools/ffplay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index 9bfa3e6cea..f2028d4b13 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -2712,8 +2712,8 @@ static int is_realtime(AVFormatContext *s)
)
return 1;
- if(s->pb && ( !strncmp(s->filename, "rtp:", 4)
- || !strncmp(s->filename, "udp:", 4)
+ if(s->pb && ( !strncmp(s->url, "rtp:", 4)
+ || !strncmp(s->url, "udp:", 4)
)
)
return 1;
@@ -2928,7 +2928,7 @@ static int read_thread(void *arg)
ret = avformat_seek_file(is->ic, -1, seek_min, seek_target, seek_max, is->seek_flags);
if (ret < 0) {
av_log(NULL, AV_LOG_ERROR,
- "%s: error while seeking\n", is->ic->filename);
+ "%s: error while seeking\n", is->ic->url);
} else {
if (is->audio_stream >= 0) {
packet_queue_flush(&is->audioq);