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)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 21 Sep 2011 15:57:01 +0000 (17:57 +0200)
(cherry picked from commit 04c13dca8812e8302686887b6e8201d4ad25b7d8)

libavcodec/qcelpdec.c

index 3ed821c..e83704d 100644 (file)
@@ -839,7 +839,7 @@ erasure:
 
     *data_size = 160 * sizeof(*outbuffer);
 
-    return *data_size;
+    return buf_size;
 }
 
 AVCodec ff_qcelp_decoder =