summaryrefslogtreecommitdiffstats
path: root/libavcodec/aasc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-04-16 19:12:02 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-04-16 19:19:09 +0200
commit0be54ad280cf114c02306b7063147e8379f8ed1e (patch)
treeaa0e8e21e97586a66d51b0dbebf42d938d766057 /libavcodec/aasc.c
parent5b75689b987e4c4dd4f34d5c8be389547e9cc701 (diff)
downloadffmpeg-streaming-0be54ad280cf114c02306b7063147e8379f8ed1e.zip
ffmpeg-streaming-0be54ad280cf114c02306b7063147e8379f8ed1e.tar.gz
aasc: return correct buffer size from aasc_decode_frame
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/aasc.c')
-rw-r--r--libavcodec/aasc.c2
1 files changed, 1 insertions, 1 deletions
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)
OpenPOWER on IntegriCloud