diff options
author | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-02-14 02:32:54 +0300 |
---|---|---|
committer | jm <jm@0101bb08-14d6-0310-b084-bc0e0c8e3800> | 2008-02-14 02:32:54 +0300 |
commit | 40209cadca72a16907417ea1c0f49ed258caf8aa (patch) | |
tree | f733764fef2814df97976cb1db8f35e6b290ecd7 /src | |
parent | 5e543d1ff7b3c107721ec15f282412e043bbfb56 (diff) |
Fix for nb-channel bug found by gmaxwell's fuzzing.
git-svn-id: http://svn.xiph.org/trunk/speex@14504 0101bb08-14d6-0310-b084-bc0e0c8e3800
Diffstat (limited to 'src')
-rw-r--r-- | src/speexdec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/speexdec.c b/src/speexdec.c index 697028e..ee21d27 100644 --- a/src/speexdec.c +++ b/src/speexdec.c @@ -365,6 +365,7 @@ static void *process_header(ogg_packet *op, spx_int32_t enh_enabled, spx_int32_t if (!(*channels==1)) { + channels = 2; callback.callback_id = SPEEX_INBAND_STEREO; callback.func = speex_std_stereo_request_handler; callback.data = stereo; |