From: ami_stuff Date: Thu, 28 Apr 2011 22:47:36 +0000 (+0200) Subject: Reduce max lowres from 5 to 3 in sp5x decoder X-Git-Tag: n0.8~707 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f27c72b3682da19d7507561a1cad90f2068e354a;p=coroid%2Fffmpeg_saccubus.git Reduce max lowres from 5 to 3 in sp5x decoder lowres higher than 3 crashes ffmpeg/ffplay here Signed-off-by: Michael Niedermayer --- diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c index dd31edaf8..1af978f21 100644 --- a/libavcodec/sp5xdec.c +++ b/libavcodec/sp5xdec.c @@ -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)"), };