mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-20 01:50:30 +00:00
aasc: return correct buffer size from aasc_decode_frame
CC: libav-stable@libav.org
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
(cherry picked from commit 8fc8024ea5
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
3e1c9da38b
commit
0d3a7dd264
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user