Fixes "Unitialized Scalar Variable" issues reported by Coverity.
Has the added advantage of detecting whether somebody *does* use those
fields (ending up with a invalid address).
https://bugzilla.gnome.org/show_bug.cgi?id=720810
info->bpf = (finfo->width * channels) / 8;
memset (&info->position, 0xff, sizeof (info->position));
+ memset (&info->_gst_reserved, 0xff, sizeof (info->_gst_reserved));
if (!position && channels == 1) {
info->position[0] = GST_AUDIO_CHANNEL_POSITION_MONO;
}
fill_planes (info);
+ memset (&info->_gst_reserved, 0xff, sizeof (info->_gst_reserved));
}
static const gchar *interlace_mode[] = {