Browse Source

we only have 2 wavelets, the 3rd was just for experimentation ...

Originally committed as revision 10219 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 18 years ago
parent
commit
b5b88eb3b4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/snow.c

+ 1
- 1
libavcodec/snow.c View File

@@ -3744,7 +3744,7 @@ static int decode_header(SnowContext *s){
} }


s->spatial_decomposition_type+= get_symbol(&s->c, s->header_state, 1); 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); av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported", s->spatial_decomposition_type);
return -1; return -1;
} }


Loading…
Cancel
Save