# HG changeset patch # User michael # Date 1239291182 0 # Node ID 48eb9ec4e31834d47d91819a432348748df60c48 # Parent 48813960f5d567e16b863ebcbee127b42ddbd7cb Fix spatial_decomposition_type validity check. Fixes infinite loop (did no investigate why exactly it got stuck). diff -r 48813960f5d5 -r 48eb9ec4e318 snow.c --- a/snow.c Thu Apr 09 15:17:03 2009 +0000 +++ b/snow.c Thu Apr 09 15:33:02 2009 +0000 @@ -3620,7 +3620,7 @@ } s->spatial_decomposition_type+= get_symbol(&s->c, s->header_state, 1); - if(s->spatial_decomposition_type > 1){ + if(s->spatial_decomposition_type > 1U){ av_log(s->avctx, AV_LOG_ERROR, "spatial_decomposition_type %d not supported", s->spatial_decomposition_type); return -1; }