mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 13:04:50 +00:00
xsubdec: print frame size when too small
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
121d3875b6
commit
3cb83b225e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user