summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2011-09-07 10:17:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-11-03 03:31:25 +0100
commit1415ebf031af502835262752b9325c13da0db70b (patch)
tree0d4a6c7dd3afa0aa58819b624a40b752f3da7c4b
parent4e0315b30ecb41b6fa349fba0d8eb1adaa4fe3bc (diff)
downloadffmpeg-1415ebf031af502835262752b9325c13da0db70b.tar.gz
qcelpdec: fix the return value of qcelp_decode_frame().
(cherry picked from commit 04c13dca8812e8302686887b6e8201d4ad25b7d8)
-rw-r--r--libavcodec/qcelpdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qcelpdec.c b/libavcodec/qcelpdec.c
index 59eff1f919..3a18470b65 100644
--- a/libavcodec/qcelpdec.c
+++ b/libavcodec/qcelpdec.c
@@ -802,7 +802,7 @@ erasure:
*data_size = 160 * sizeof(*outbuffer);
- return *data_size;
+ return buf_size;
}
AVCodec qcelp_decoder =