X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Faasc.c;h=469fc5eef6fd79636e40cff76d0f2f678eb6b187;hb=40d552dae657d2d690a724c8b1e7ea714998d74f;hp=65ef7826885a8a14f1e8b1be63b3b6d460c755a6;hpb=6530e2ff0cd011ee3b87bd8d77c964a41f6b44ec;p=ffmpeg diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 65ef7826885..469fc5eef6f 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)