OSDN Git Service

Reduce max lowres from 5 to 3 in sp5x decoder
authorami_stuff <ami_stuff@o2.pl>
Thu, 28 Apr 2011 22:47:36 +0000 (00:47 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 28 Apr 2011 23:29:19 +0000 (01:29 +0200)
lowres higher than 3 crashes ffmpeg/ffplay here

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/sp5xdec.c

index dd31eda..1af978f 100644 (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)"),
 };