From 24c0197e46b09e2dbd17d159b30b600d4f7ff5b4 Mon Sep 17 00:00:00 2001 From: Luis de Bethencourt Date: Fri, 6 Mar 2015 12:12:49 +0000 Subject: [PATCH] omxaudiodec: add comment explaining duplicate code path --- omx/gstomxaacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omx/gstomxaacdec.c b/omx/gstomxaacdec.c index 7d81269..6ecf9d5 100644 --- a/omx/gstomxaacdec.c +++ b/omx/gstomxaacdec.c @@ -148,7 +148,7 @@ gst_omx_aac_dec_set_format (GstOMXAudioDec * dec, GstOMXPort * port, aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatADIF; else if (strcmp (stream_format, "raw") == 0) aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW; - else + else /* fallback instead of failing */ aac_param.eAACStreamFormat = OMX_AUDIO_AACStreamFormatRAW; err = -- 2.7.4