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: v11.4~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0d3a7dd26490156b607541dd2e1faeaa0fc61a88;p=platform%2Fupstream%2Flibav.git aasc: return correct buffer size from aasc_decode_frame CC: libav-stable@libav.org Signed-off-by: Andreas Cadhalpun Signed-off-by: Anton Khirnov (cherry picked from commit 8fc8024ea56e814cd257d5fe27b21a865080782f) Signed-off-by: Anton Khirnov --- diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 468e394..1e457ce 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -97,7 +97,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)