Skip to content
Snippets Groups Projects
Commit 8fc8024e authored by Andreas Cadhalpun's avatar Andreas Cadhalpun Committed by Anton Khirnov
Browse files

aasc: return correct buffer size from aasc_decode_frame


CC: libav-stable@libav.org
Signed-off-by: default avatarAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: default avatarAnton Khirnov <anton@khirnov.net>
parent 3edeb774
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment