From: Andreas Cadhalpun Date: Thu, 16 Apr 2015 17:12:02 +0000 (+0200) Subject: aasc: return correct buffer size from aasc_decode_frame X-Git-Tag: android-x86-4.4-r3^2~19 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=13178541369f73822def06170efadb180625202d;p=android-x86%2Fexternal-ffmpeg.git aasc: return correct buffer size from aasc_decode_frame Signed-off-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer (cherry picked from commit 0be54ad280cf114c02306b7063147e8379f8ed1e) Signed-off-by: Michael Niedermayer --- diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 38658f86c4..a23f9b3ec3 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -137,7 +137,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)