Commit 424c86ad authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

winegstreamer: Avoid double initialization.

parent ef8e2f2e
...@@ -120,7 +120,7 @@ static gboolean amt_from_gst_caps_audio(GstCaps *caps, AM_MEDIA_TYPE *amt) ...@@ -120,7 +120,7 @@ static gboolean amt_from_gst_caps_audio(GstCaps *caps, AM_MEDIA_TYPE *amt)
{ {
WAVEFORMATEXTENSIBLE *wfe; WAVEFORMATEXTENSIBLE *wfe;
WAVEFORMATEX *wfx; WAVEFORMATEX *wfx;
gint32 depth = 0, bpp = 0; gint32 depth, bpp;
GstAudioInfo ainfo; GstAudioInfo ainfo;
if (!gst_audio_info_from_caps (&ainfo, caps)) if (!gst_audio_info_from_caps (&ainfo, caps))
...@@ -181,7 +181,7 @@ static gboolean amt_from_gst_caps_video(GstCaps *caps, AM_MEDIA_TYPE *amt) ...@@ -181,7 +181,7 @@ static gboolean amt_from_gst_caps_video(GstCaps *caps, AM_MEDIA_TYPE *amt)
{ {
VIDEOINFOHEADER *vih; VIDEOINFOHEADER *vih;
BITMAPINFOHEADER *bih; BITMAPINFOHEADER *bih;
gint32 width = 0, height = 0, nom = 0, denom = 0; gint32 width, height, nom, denom;
GstVideoInfo vinfo; GstVideoInfo vinfo;
if (!gst_video_info_from_caps (&vinfo, caps)) if (!gst_video_info_from_caps (&vinfo, caps))
......
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