diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-04-16 19:12:02 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-06-10 02:13:10 +0200 |
commit | 743973f56f94e12c9153c06b17fb59cac7ccda39 (patch) | |
tree | ada12443a7ac39eebbbdb7366ddd08ec74e38bc2 /libavcodec | |
parent | 97b137a64071354f527926ac7d131ebf130fc987 (diff) | |
download | ffmpeg-743973f56f94e12c9153c06b17fb59cac7ccda39.tar.gz |
aasc: return correct buffer size from aasc_decode_frame
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0be54ad280cf114c02306b7063147e8379f8ed1e)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/aasc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 26ba30dd14..17e639b05b 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -139,7 +139,7 @@ static int aasc_decode_frame(AVCodecContext *avctx, return ret; /* report that the buffer was completely consumed */ - return buf_size; + return avpkt->size; } static av_cold int aasc_decode_end(AVCodecContext *avctx) |