summaryrefslogtreecommitdiff
path: root/libavcodec/snow.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-08-25 03:04:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-08-25 03:04:13 +0000
commitb5b88eb3b4a841ca818b46475c609549e92b2f73 (patch)
tree2ab856838df5757c73d96871734bc205deb3da6d /libavcodec/snow.c
parentd593e329832a432777218eb92469bad10594a3c5 (diff)
we only have 2 wavelets, the 3rd was just for experimentation ...
Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/snow.c')
-rw-r--r--libavcodec/snow.c2
1 files changed, 1 insertions, 1 deletions
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;
}