Commit 8fc8024e authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Anton Khirnov

aasc: return correct buffer size from aasc_decode_frame

CC: libav-stable@libav.org
Signed-off-by: 's avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 3edeb774
...@@ -97,7 +97,7 @@ static int aasc_decode_frame(AVCodecContext *avctx, ...@@ -97,7 +97,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
return ret; return ret;
/* report that the buffer was completely consumed */ /* report that the buffer was completely consumed */
return buf_size; return avpkt->size;
} }
static av_cold int aasc_decode_end(AVCodecContext *avctx) static av_cold int aasc_decode_end(AVCodecContext *avctx)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment