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/fifo.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/fifo.c')
-rw-r--r-- | libavformat/fifo.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/fifo.c b/libavformat/fifo.c index c881f31e94..145e2e2660 100644 --- a/libavformat/fifo.c +++ b/libavformat/fifo.c @@ -124,9 +124,9 @@ static int fifo_thread_write_header(FifoThreadContext *ctx) if (ret < 0) return ret; - ret = ff_format_output_open(avf2, avf->filename, &format_options); + ret = ff_format_output_open(avf2, avf->url, &format_options); if (ret < 0) { - av_log(avf, AV_LOG_ERROR, "Error opening %s: %s\n", avf->filename, + av_log(avf, AV_LOG_ERROR, "Error opening %s: %s\n", avf->url, av_err2str(ret)); goto end; } @@ -500,13 +500,13 @@ static int fifo_init(AVFormatContext *avf) } } - oformat = av_guess_format(fifo->format, avf->filename, NULL); + oformat = av_guess_format(fifo->format, avf->url, NULL); if (!oformat) { ret = AVERROR_MUXER_NOT_FOUND; return ret; } - ret = fifo_mux_init(avf, oformat, avf->filename); + ret = fifo_mux_init(avf, oformat, avf->url); if (ret < 0) return ret; |