summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r--libhb/muxavformat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index d4f94356a..f8a0ab984 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -182,7 +182,7 @@ static int avformatInit( hb_mux_object_t * m )
hb_error("Could not guess output format %s", muxer_name);
goto error;
}
- m->oc->url = strdup(job->file);
+ m->oc->url = av_strdup(job->file);
ret = avio_open2(&m->oc->pb, job->file, AVIO_FLAG_WRITE,
&m->oc->interrupt_callback, NULL);
if( ret < 0 )