[FFmpeg-cvslog] aasc: return correct buffer size from aasc_decode_frame
Andreas Cadhalpun
git at videolan.org
Tue May 5 22:32:53 CEST 2015
ffmpeg | branch: master | Andreas Cadhalpun <andreas.cadhalpun at googlemail.com> | Thu Apr 16 19:12:02 2015 +0200| [8fc8024ea56e814cd257d5fe27b21a865080782f] | committer: Anton Khirnov
aasc: return correct buffer size from aasc_decode_frame
CC: libav-stable at libav.org
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8fc8024ea56e814cd257d5fe27b21a865080782f
---
libavcodec/aasc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 468e394..1e457ce 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)
More information about the ffmpeg-cvslog
mailing list