Commit 99b6d2c0 authored by Jason Garrett-Glaser's avatar Jason Garrett-Glaser

H.264: use fill_rectangle in CABAC decoding

parent 298e52c9
...@@ -1818,8 +1818,7 @@ static av_always_inline void decode_cabac_luma_residual( H264Context *h, const u ...@@ -1818,8 +1818,7 @@ static av_always_inline void decode_cabac_luma_residual( H264Context *h, const u
} }
} }
} else { } else {
uint8_t * const nnz= &h->non_zero_count_cache[ scan8[4*i8x8+16*p] ]; fill_rectangle(&h->non_zero_count_cache[scan8[4*i8x8+16*p]], 2, 2, 8, 0, 1);
nnz[0] = nnz[1] = nnz[8] = nnz[9] = 0;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment