Commit 2e7a1fdd authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/twinvq: return the actual number of consumed bytes

Fixes Ticket2980
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cbb7f56d
...@@ -512,7 +512,7 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void *data, ...@@ -512,7 +512,7 @@ int ff_twinvq_decode_frame(AVCodecContext *avctx, void *data,
*got_frame_ptr = 1; *got_frame_ptr = 1;
return avctx->block_align; return ret;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment