aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/qcelpdec.c
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-09-07 10:17:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-09-08 21:20:50 +0200
commit04c13dca8812e8302686887b6e8201d4ad25b7d8 (patch)
tree79783896f5eae35fdea07efca529e4d14585c39f /libavcodec/qcelpdec.c
parent54e1eaef6787104083cbc9c9834ea4d13612df9f (diff)
downloadffmpeg-04c13dca8812e8302686887b6e8201d4ad25b7d8.tar.gz
qcelpdec: fix the return value of qcelp_decode_frame().
Diffstat (limited to 'libavcodec/qcelpdec.c')
-rw-r--r--libavcodec/qcelpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index d565003a9e..96e605e588 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -839,7 +839,7 @@ erasure:
*data_size = 160 * sizeof(*outbuffer);
- return *data_size;
+ return buf_size;
}
AVCodec ff_qcelp_decoder =