diff options
author | Marton Balint <cus@passwd.hu> | 2017-12-29 23:30:14 +0100 |
---|---|---|
committer | Marton Balint <cus@passwd.hu> | 2018-01-28 23:06:43 +0100 |
commit | 18ac64235939c4c5c7656546a9545f68339affbe (patch) | |
tree | 53d6aab3edafd9bd621558415b63546ca0c5674e /libavformat/options.c | |
parent | 45ec2e44be911da073b02ae3a14e3cb08ce0a1f5 (diff) | |
download | ffmpeg-18ac64235939c4c5c7656546a9545f68339affbe.tar.gz |
avformat: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/options.c')
-rw-r--r-- | libavformat/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/options.c b/libavformat/options.c index 9371c72667..c188c23506 100644 --- a/libavformat/options.c +++ b/libavformat/options.c @@ -104,7 +104,7 @@ static int io_open_default(AVFormatContext *s, AVIOContext **pb, { int loglevel; - if (!strcmp(url, s->filename) || + if (!strcmp(url, s->url) || s->iformat && !strcmp(s->iformat->name, "image2") || s->oformat && !strcmp(s->oformat->name, "image2") ) { |