Commit 3cb83b22 authored by Michael Niedermayer's avatar Michael Niedermayer

xsubdec: print frame size when too small

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 121d3875
......@@ -60,7 +60,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size,
// check that at least header fits
if (buf_size < 27 + 7 * 2 + 4 * 3) {
av_log(avctx, AV_LOG_ERROR, "coded frame too small\n");
av_log(avctx, AV_LOG_ERROR, "coded frame size %d too small\n", buf_size);
return -1;
}
......
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