summaryrefslogtreecommitdiff
path: root/libavcodec/sp5xdec.c
diff options
context:
space:
mode:
authorami_stuff <ami_stuff@o2.pl>2011-04-29 00:47:36 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-04-29 01:29:19 +0200
commitf27c72b3682da19d7507561a1cad90f2068e354a (patch)
tree011e63ace287834148d105fc2e13afb2502ce67e /libavcodec/sp5xdec.c
parente4f42f1f89a1a4abb9132fcb1524ffd852101c07 (diff)
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>
Diffstat (limited to 'libavcodec/sp5xdec.c')
-rw-r--r--libavcodec/sp5xdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
index dd31edaf85..1af978f21b 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)"),
};