diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-29 23:29:27 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-28 23:06:43 +0100 |
commit | 25a2d269bdd919e633e202b67927c3c72f9f0dd5 (patch) | |
tree | b704890db0eef099f1e8203cfe056e3567b00063 /fftools/ffplay.c | |
parent | ea3672b7d67c432724bdbc8de0221f869b6a04c6 (diff) | |
download | ffmpeg-25a2d269bdd919e633e202b67927c3c72f9f0dd5.tar.gz |
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.c | 6 |
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); |