diff options
author | Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> | 2015-04-16 19:12:02 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-05-05 21:41:26 +0200 |
commit | 0d3a7dd26490156b607541dd2e1faeaa0fc61a88 (patch) | |
tree | 00e1fd507eeef780045fbf336717d9651a97f12a | |
parent | 3e1c9da38b849ce2982b516004370081fdd89ed0 (diff) | |
download | ffmpeg-0d3a7dd26490156b607541dd2e1faeaa0fc61a88.tar.gz |
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 8fc8024ea56e814cd257d5fe27b21a865080782f)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
-rw-r--r-- | libavcodec/aasc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c index 468e39440a..1e457ce962 100644 --- a/libavcodec/aasc.c +++ b/libavcodec/aasc.c @@ -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) |