From: Michael Niedermayer Date: Sat, 25 Aug 2007 03:04:13 +0000 (+0000) Subject: we only have 2 wavelets, the 3rd was just for experimentation ... X-Git-Tag: android-x86-4.4-r1~35400 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=b5b88eb3b4a841ca818b46475c609549e92b2f73;p=android-x86%2Fexternal-ffmpeg.git we only have 2 wavelets, the 3rd was just for experimentation ... Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/snow.c b/libavcodec/snow.c index 476d674e80..784e03ce3e 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -3744,7 +3744,7 @@ static int decode_header(SnowContext *s){ } s->spatial_decomposition_type+= get_symbol(&s->c, s->header_state, 1); - if(s->spatial_decomposition_type > 2){ + if(s->spatial_decomposition_type > 1){ av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported", s->spatial_decomposition_type); return -1; }