1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-09-11 09:57:54 +02:00

h264_cabac: drop an always true condition

This commit is contained in:
Anton Khirnov 2016-05-18 14:31:48 +02:00
parent 5c2fb561d9
commit 8281cd5cb8

View File

@ -2340,7 +2340,7 @@ decode_intra_mb:
} }
} }
if (sl->top_type && !IS_8x8DCT(sl->top_type)){ if (sl->top_type && !IS_8x8DCT(sl->top_type)){
uint32_t top_empty = CABAC(h) && !IS_INTRA(mb_type) ? 0 : 0x40404040; uint32_t top_empty = !IS_INTRA(mb_type) ? 0 : 0x40404040;
AV_WN32A(&nnz_cache[4+8* 0], top_empty); AV_WN32A(&nnz_cache[4+8* 0], top_empty);
AV_WN32A(&nnz_cache[4+8* 5], top_empty); AV_WN32A(&nnz_cache[4+8* 5], top_empty);
AV_WN32A(&nnz_cache[4+8*10], top_empty); AV_WN32A(&nnz_cache[4+8*10], top_empty);