summaryrefslogtreecommitdiff
path: root/silk/dec_API.c
diff options
context:
space:
mode:
authorPhilip Jägenstedt <philip@foolip.org>2012-10-11 11:27:12 +0200
committerGregory Maxwell <greg@xiph.org>2012-10-11 09:21:44 -0400
commitb7b5872c9d6be8daefc79f12c23e6c7fa319deab (patch)
tree84df6abbfec6eb8c9d4f80f2d231e9954a310025 /silk/dec_API.c
parent96480adaff14041dcf3c90167999088fea7c4f65 (diff)
downloadopus-b7b5872c9d6be8daefc79f12c23e6c7fa319deab.tar.gz
Fix minor issues reported by scan-build
Diffstat (limited to 'silk/dec_API.c')
-rw-r--r--silk/dec_API.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/silk/dec_API.c b/silk/dec_API.c
index 68403b7c..58b6b2b1 100644
--- a/silk/dec_API.c
+++ b/silk/dec_API.c
@@ -97,6 +97,8 @@ opus_int silk_Decode( /* O Returns error co
opus_int stereo_to_mono;
SAVE_STACK;
+ silk_assert( decControl->nChannelsInternal == 1 || decControl->nChannelsInternal == 2 );
+
/**********************************/
/* Test if first frame in payload */
/**********************************/