mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-28 20:53:54 +02:00
parenthesing to avoid compiler errors in the future - compared asm outputs, behaviour didnt changed
Originally committed as revision 4417 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0ede2c556a
commit
19d9ac8169
@ -2964,7 +2964,7 @@ static int alloc_tables(H264Context *h){
|
|||||||
shift -= 2;
|
shift -= 2;
|
||||||
for(x=0; x<64; x++)
|
for(x=0; x<64; x++)
|
||||||
h->dequant8_coeff[q][x] = dequant8_coeff_init[idx][
|
h->dequant8_coeff[q][x] = dequant8_coeff_init[idx][
|
||||||
dequant8_coeff_init_scan[(x>>1)&12 | x&3] ] << shift;
|
dequant8_coeff_init_scan[((x>>1)&12) | (x&3)] ] << shift;
|
||||||
}
|
}
|
||||||
if(h->sps.transform_bypass){
|
if(h->sps.transform_bypass){
|
||||||
for(x=0; x<16; x++)
|
for(x=0; x<16; x++)
|
||||||
@ -4403,7 +4403,7 @@ static inline int get_dct8x8_allowed(H264Context *h){
|
|||||||
int i;
|
int i;
|
||||||
for(i=0; i<4; i++){
|
for(i=0; i<4; i++){
|
||||||
if(!IS_SUB_8X8(h->sub_mb_type[i])
|
if(!IS_SUB_8X8(h->sub_mb_type[i])
|
||||||
|| !h->sps.direct_8x8_inference_flag && IS_DIRECT(h->sub_mb_type[i]))
|
|| (!h->sps.direct_8x8_inference_flag && IS_DIRECT(h->sub_mb_type[i])))
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user