changeset 5588:effa59ca89b3 libavcodec

we only have 2 wavelets, the 3rd was just for experimentation ...
author michael
date Sat, 25 Aug 2007 03:04:13 +0000
parents 3ae03eacbe9f
children 946c2db0a093
files snow.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/snow.c	Sat Aug 25 03:00:51 2007 +0000
+++ b/snow.c	Sat Aug 25 03:04:13 2007 +0000
@@ -3744,7 +3744,7 @@
     }
 
     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;
     }