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>
Thu, 8 Sep 2011 19:20:50 +0000 (21:20 +0200)
libavcodec/qcelpdec.c

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