# HG changeset patch # User kostya # Date 1152414057 0 # Node ID e3f5377bddb2a50258f66cb743542e1a79bb8f98 # Parent f024ca7c768ba9e79195e8fe26627a6d8167b95d Check if 4-MV MB should not be decoded. diff -r f024ca7c768b -r e3f5377bddb2 vc1.c --- a/vc1.c Sun Jul 09 02:56:40 2006 +0000 +++ b/vc1.c Sun Jul 09 03:00:57 2006 +0000 @@ -2496,6 +2496,8 @@ v->mb_type[0][s->block_index[i]] = is_intra[i]; if(!coded_inter) coded_inter = !is_intra[i] & is_coded[i]; } + // if there are no coded blocks then don't do anything more + if(!intra_count && !coded_inter) return 0; dst_idx = 0; GET_MQUANT(); s->current_picture.qscale_table[mb_pos] = mquant;