summaryrefslogtreecommitdiff
path: root/omx
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis.bg@samsung.com>2015-03-06 10:50:30 +0000
committerLuis de Bethencourt <luis.bg@samsung.com>2015-03-06 10:50:30 +0000
commita8d26ff27a8b43f589424a59294f9057641b2a46 (patch)
treee810d8491324848869674f0ef1ec773bf81cff97 /omx
parent0ef1e90b34082b88fdef3fd53dfe25fbf9002209 (diff)
downloadgst-omx-a8d26ff27a8b43f589424a59294f9057641b2a46.tar.gz
omxaudiodec: remove duplicate code path
Diffstat (limited to 'omx')
-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 =