diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-11 18:24:56 -0500 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2013-11-11 18:24:56 -0500 |
commit | 1d72d383ac602987882569f362838cd866c5c199 (patch) | |
tree | 2058c3d016b540d0a38feffd26abf4c907903f3e /src/opus_decoder.c | |
parent | 77a596365854482a3233335f450148e8e375cd94 (diff) | |
download | libopus-1d72d383ac602987882569f362838cd866c5c199.tar.gz |
oops, don't need RESTORE_STACK when there's no stack
Diffstat (limited to 'src/opus_decoder.c')
-rw-r--r-- | src/opus_decoder.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/opus_decoder.c b/src/opus_decoder.c index 2a7b78bc..b66f3b69 100644 --- a/src/opus_decoder.c +++ b/src/opus_decoder.c @@ -702,10 +702,7 @@ int opus_decode(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) { if(frame_size<=0) - { - RESTORE_STACK; return OPUS_BAD_ARG; - } return opus_decode_native(st, data, len, pcm, frame_size, decode_fec, 0, NULL, 0); } @@ -766,10 +763,7 @@ int opus_decode_float(OpusDecoder *st, const unsigned char *data, opus_int32 len, opus_val16 *pcm, int frame_size, int decode_fec) { if(frame_size<=0) - { - RESTORE_STACK; return OPUS_BAD_ARG; - } return opus_decode_native(st, data, len, pcm, frame_size, decode_fec, 0, NULL, 0); } |