Skip to content
Snippets Groups Projects
Commit fdb59832 authored by Kostya Shishkov's avatar Kostya Shishkov
Browse files

Check if 4-MV MB should not be decoded.

Originally committed as revision 5688 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 5c4b8efd
No related branches found
No related tags found
No related merge requests found
...@@ -2496,6 +2496,8 @@ static int vc1_decode_p_mb(VC1Context *v, DCTELEM block[6][64]) ...@@ -2496,6 +2496,8 @@ static int vc1_decode_p_mb(VC1Context *v, DCTELEM block[6][64])
v->mb_type[0][s->block_index[i]] = is_intra[i]; v->mb_type[0][s->block_index[i]] = is_intra[i];
if(!coded_inter) coded_inter = !is_intra[i] & is_coded[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; dst_idx = 0;
GET_MQUANT(); GET_MQUANT();
s->current_picture.qscale_table[mb_pos] = mquant; s->current_picture.qscale_table[mb_pos] = mquant;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment