qcelpdec: fix the return value of qcelp_decode_frame().
authorChris Rankin <rankincj@yahoo.com>
Wed, 7 Sep 2011 09:17:30 +0000 (10:17 +0100)
committerJustin Ruggles <justin.ruggles@gmail.com>
Tue, 4 Oct 2011 21:09:53 +0000 (17:09 -0400)
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
libavcodec/qcelpdec.c

index 5942a03..477eaee 100644 (file)
@@ -839,7 +839,7 @@ erasure:
 
     *data_size = 160 * sizeof(*outbuffer);
 
-    return *data_size;
+    return buf_size;
 }
 
 AVCodec ff_qcelp_decoder =