[Ffmpeg-cvslog] r5688 - trunk/libavcodec/vc1.c
kostya
subversion
Sun Jul 9 05:00:58 CEST 2006
Author: kostya
Date: Sun Jul 9 05:00:57 2006
New Revision: 5688
Modified:
trunk/libavcodec/vc1.c
Log:
Check if 4-MV MB should not be decoded.
Modified: trunk/libavcodec/vc1.c
==============================================================================
--- trunk/libavcodec/vc1.c (original)
+++ trunk/libavcodec/vc1.c Sun Jul 9 05:00:57 2006
@@ -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;
More information about the ffmpeg-cvslog
mailing list