mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
fix CABAC+LOOP missmatch
Originally committed as revision 3628 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
3981c385cc
commit
7b89e963e8
@ -4670,7 +4670,10 @@ decode_intra_mb:
|
||||
nnz[ scan8[20]+0 ] = nnz[ scan8[20]+1 ] =nnz[ scan8[20]+8 ] =nnz[ scan8[20]+9 ] = 0;
|
||||
}
|
||||
} else {
|
||||
memset( &h->non_zero_count_cache[8], 0, 8*5 );
|
||||
uint8_t * const nnz= &h->non_zero_count_cache[0];
|
||||
fill_rectangle(&nnz[scan8[0]], 4, 4, 8, 0, 1);
|
||||
nnz[ scan8[16]+0 ] = nnz[ scan8[16]+1 ] =nnz[ scan8[16]+8 ] =nnz[ scan8[16]+9 ] =
|
||||
nnz[ scan8[20]+0 ] = nnz[ scan8[20]+1 ] =nnz[ scan8[20]+8 ] =nnz[ scan8[20]+9 ] = 0;
|
||||
}
|
||||
|
||||
s->current_picture.qscale_table[mb_xy]= s->qscale;
|
||||
|
Loading…
Reference in New Issue
Block a user