[FFmpeg-devel] [PATCH] aasc: return correct buffer size from aasc_decode_frame
Andreas Cadhalpun
andreas.cadhalpun at googlemail.com
Thu Apr 16 19:12:02 CEST 2015
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
---
libavcodec/aasc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aasc.c b/libavcodec/aasc.c
index 65ef782..469fc5e 100644
--- a/libavcodec/aasc.c
+++ b/libavcodec/aasc.c
@@ -137,7 +137,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)
--
2.1.4
More information about the ffmpeg-devel
mailing list