omxaudiodec: remove duplicate code path

This commit is contained in:
Luis de Bethencourt 2015-03-06 10:50:30 +00:00
parent 0ef1e90b34
commit a8d26ff27a

View file

@ -146,9 +146,7 @@ gst_omx_aac_dec_set_format (GstOMXAudioDec * dec, GstOMXPort * port,
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS;
else if (strcmp (stream_format, "adif") == 0) else if (strcmp (stream_format, "adif") == 0)
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF;
else if (strcmp (stream_format, "raw") == 0) else /* raw */
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
else
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW; aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
err = err =