summaryrefslogtreecommitdiff
path: root/omx/gstomxaacdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'omx/gstomxaacdec.c')
-rw-r--r--omx/gstomxaacdec.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/omx/gstomxaacdec.c b/omx/gstomxaacdec.c
index 7d81269..96665d4 100644
--- a/omx/gstomxaacdec.c
+++ b/omx/gstomxaacdec.c
@@ -146,9 +146,7 @@ gst_omx_aac_dec_set_format (GstOMXAudioDec * dec, GstOMXPort * port,
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatMP4LOAS;
else if (strcmp (stream_format, "adif") == 0)
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF;
- else if (strcmp (stream_format, "raw") == 0)
- aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
- else
+ else /* raw */
aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW;
err =