we only have 2 wavelets, the 3rd was just for experimentation ...
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Aug 2007 03:04:13 +0000 (03:04 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 25 Aug 2007 03:04:13 +0000 (03:04 +0000)
Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/snow.c

index 476d674..784e03c 100644 (file)
@@ -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;
     }