aboutsummaryrefslogtreecommitdiffstats
path: root/tools/uncoded_frame.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2017-12-29 23:29:27 +0100
committerMarton Balint <cus@passwd.hu>2018-01-28 23:06:43 +0100
commit25a2d269bdd919e633e202b67927c3c72f9f0dd5 (patch)
treeb704890db0eef099f1e8203cfe056e3567b00063 /tools/uncoded_frame.c
parentea3672b7d67c432724bdbc8de0221f869b6a04c6 (diff)
downloadffmpeg-25a2d269bdd919e633e202b67927c3c72f9f0dd5.tar.gz
fftools, tools, examples: migrate to AVFormatContext->url
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'tools/uncoded_frame.c')
-rw-r--r--tools/uncoded_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uncoded_frame.c b/tools/uncoded_frame.c
index 606bdb746a..3aaa4b6897 100644
--- a/tools/uncoded_frame.c
+++ b/tools/uncoded_frame.c
@@ -141,7 +141,7 @@ int main(int argc, char **argv)
goto fail;
}
if (!(st->mux->oformat->flags & AVFMT_NOFILE)) {
- ret = avio_open2(&st->mux->pb, st->mux->filename, AVIO_FLAG_WRITE,
+ ret = avio_open2(&st->mux->pb, st->mux->url, AVIO_FLAG_WRITE,
NULL, NULL);
if (ret < 0) {
av_log(st->mux, AV_LOG_ERROR, "Failed to init output: %s\n",