mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
faad: fixes warning in macosx snow leopard
This commit is contained in:
parent
a2be08d74c
commit
d1f931630d
1 changed files with 5 additions and 5 deletions
|
@ -346,7 +346,7 @@ gst_faad_setcaps (GstPad * pad, GstCaps * caps)
|
||||||
}
|
}
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (faad, "codec_data init: channels=%u, rate=%u", channels,
|
GST_DEBUG_OBJECT (faad, "codec_data init: channels=%u, rate=%u", channels,
|
||||||
samplerate);
|
(guint32) samplerate);
|
||||||
|
|
||||||
/* not updating these here, so they are updated in the
|
/* not updating these here, so they are updated in the
|
||||||
* chain function, and new caps are created etc. */
|
* chain function, and new caps are created etc. */
|
||||||
|
@ -1310,15 +1310,15 @@ gst_faad_chain (GstPad * pad, GstBuffer * buffer)
|
||||||
if (faacDecInit (faad->handle, input_data, input_size, &rate, &ch) < 0)
|
if (faacDecInit (faad->handle, input_data, input_size, &rate, &ch) < 0)
|
||||||
goto init_failed;
|
goto init_failed;
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (faad, "faacDecInit() ok: rate=%u,channels=%u", rate,
|
GST_DEBUG_OBJECT (faad, "faacDecInit() ok: rate=%u,channels=%u",
|
||||||
ch);
|
(guint32) rate, ch);
|
||||||
} else {
|
} else {
|
||||||
if ((gint8) faacDecInit2 (faad->handle, faad->fake_codec_data, 2,
|
if ((gint8) faacDecInit2 (faad->handle, faad->fake_codec_data, 2,
|
||||||
&rate, &ch) < 0) {
|
&rate, &ch) < 0) {
|
||||||
goto init2_failed;
|
goto init2_failed;
|
||||||
}
|
}
|
||||||
GST_DEBUG_OBJECT (faad, "faacDecInit2() ok: rate=%u,channels=%u", rate,
|
GST_DEBUG_OBJECT (faad, "faacDecInit2() ok: rate=%u,channels=%u",
|
||||||
ch);
|
(guint32) rate, ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
skip_bytes = 0;
|
skip_bytes = 0;
|
||||||
|
|
Loading…
Reference in a new issue