we only have 2 wavelets, the 3rd was just for experimentation ...
[ffmpeg.git] / 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;
     }