Commit fe224775 authored by Dmitry Melnichenko's avatar Dmitry Melnichenko Committed by Sebastian Dröge

avmux: Fix invalid address passing to av_opt_set_int()

https://bugzilla.gnome.org/show_bug.cgi?id=723615
parent f86fd7e2
......@@ -478,7 +478,7 @@ gst_ffmpegmux_setcaps (GstPad * pad, GstCaps * caps)
collect_pad = (GstFFMpegMuxPad *) gst_pad_get_element_private (pad);
st = ffmpegmux->context->streams[collect_pad->padnum];
av_opt_set_int (&ffmpegmux->context, "preload", ffmpegmux->preload, 0);
av_opt_set_int (ffmpegmux->context, "preload", ffmpegmux->preload, 0);
ffmpegmux->context->max_delay = ffmpegmux->max_delay;
/* for the format-specific guesses, we'll go to
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment