mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
audio: Remove some unused variables
This commit is contained in:
parent
82827df405
commit
a23dff1fbb
1 changed files with 1 additions and 5 deletions
|
@ -555,7 +555,7 @@ gst_audio_decoder_setup (GstAudioDecoder * dec)
|
||||||
gst_query_unref (query);
|
gst_query_unref (query);
|
||||||
|
|
||||||
/* normalize to bool */
|
/* normalize to bool */
|
||||||
dec->priv->agg = !!res;
|
dec->priv->agg = ! !res;
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
|
@ -635,15 +635,11 @@ exit:
|
||||||
static GstFlowReturn
|
static GstFlowReturn
|
||||||
gst_audio_decoder_output (GstAudioDecoder * dec, GstBuffer * buf)
|
gst_audio_decoder_output (GstAudioDecoder * dec, GstBuffer * buf)
|
||||||
{
|
{
|
||||||
GstAudioDecoderClass *klass;
|
|
||||||
GstAudioDecoderPrivate *priv;
|
GstAudioDecoderPrivate *priv;
|
||||||
GstAudioDecoderContext *ctx;
|
|
||||||
GstFlowReturn ret = GST_FLOW_OK;
|
GstFlowReturn ret = GST_FLOW_OK;
|
||||||
GstBuffer *inbuf = NULL;
|
GstBuffer *inbuf = NULL;
|
||||||
|
|
||||||
klass = GST_AUDIO_DECODER_GET_CLASS (dec);
|
|
||||||
priv = dec->priv;
|
priv = dec->priv;
|
||||||
ctx = &dec->priv->ctx;
|
|
||||||
|
|
||||||
if (G_UNLIKELY (priv->agg < 0))
|
if (G_UNLIKELY (priv->agg < 0))
|
||||||
gst_audio_decoder_setup (dec);
|
gst_audio_decoder_setup (dec);
|
||||||
|
|
Loading…
Reference in a new issue