diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-04 18:17:47 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-04 18:17:47 +0100 |
commit | dae38a66ebd8a71aad51a29311f1c50df3ae3a2e (patch) | |
tree | 6a4add2de54d76b93e664b1c15e841802534267b /libavcodec | |
parent | faa0068a8755ff44908974293acc1a0a7fdae9be (diff) | |
download | ffmpeg-dae38a66ebd8a71aad51a29311f1c50df3ae3a2e.tar.gz |
dnxhddec: return the correct number of bytes from decode_frame
Fixes Ticket2022
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/dnxhddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c index 0af685e28b..429d9a518a 100644 --- a/libavcodec/dnxhddec.c +++ b/libavcodec/dnxhddec.c @@ -406,7 +406,7 @@ static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame, *picture = ctx->picture; *got_frame = 1; - return buf_size; + return avpkt->size; } static av_cold int dnxhd_decode_close(AVCodecContext *avctx) |