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)