[FFmpeg-cvslog] Reduce max lowres from 5 to 3 in sp5x decoder

ami_stuff git at videolan.org
Fri Apr 29 01:31:55 CEST 2011


ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Fri Apr 29 00:47:36 2011 +0200| [f27c72b3682da19d7507561a1cad90f2068e354a] | committer: Michael Niedermayer

Reduce max lowres from 5 to 3 in sp5x decoder

lowres higher than 3 crashes ffmpeg/ffplay here

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f27c72b3682da19d7507561a1cad90f2068e354a
---

 libavcodec/sp5xdec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
index dd31eda..1af978f 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)"),
 };
 



More information about the ffmpeg-cvslog mailing list