avmux: Fix invalid address passing to av_opt_set_int()
authorDmitry Melnichenko <dmitry.m@samsung.com>
Tue, 4 Feb 2014 16:17:32 +0000 (18:17 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Tue, 4 Feb 2014 16:28:36 +0000 (17:28 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=723615

ext/libav/gstavmux.c

index ac033fe..afc2825 100644 (file)
@@ -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