Testing tools improvements (no impact on draft)

This commit is contained in:
Gregory Maxwell 2011-11-25 23:53:15 -05:00 committed by Jean-Marc Valin
parent 10ebc02ecf
commit e699c1989c
6 changed files with 44 additions and 11 deletions

View file

@ -753,6 +753,8 @@ int opus_decode(OpusDecoder *st, const unsigned char *data,
int ret, i;
ALLOC_STACK;
if(frame_size<0)return OPUS_BAD_ARG;
ALLOC(out, frame_size*st->channels, float);
ret = opus_decode_native(st, data, len, out, frame_size, decode_fec, 0, NULL);