Reduce max lowres from 5 to 3 in sp5x decoder

lowres higher than 3 crashes ffmpeg/ffplay here

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
ami_stuff 2011-04-29 00:47:36 +02:00 committed by Michael Niedermayer
parent e4f42f1f89
commit f27c72b368
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ AVCodec ff_sp5x_decoder = {
sp5x_decode_frame,
CODEC_CAP_DR1,
NULL,
.max_lowres = 5,
.max_lowres = 3,
.long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
};