diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2011-07-06 13:25:13 -0700 |
---|---|---|
committer | Jason Garrett-Glaser <jason@x264.com> | 2011-07-08 16:12:39 -0700 |
commit | 99b6d2c065c3823e77e23cadaf9077ca954b36ff (patch) | |
tree | 179b755672b28f5d414db55a337b22a9463bb967 /libavcodec/h264_cabac.c | |
parent | 298e52c99caabebba63bb2b7074d8c4b5c2c0f92 (diff) | |
download | ffmpeg-99b6d2c065c3823e77e23cadaf9077ca954b36ff.tar.gz |
H.264: use fill_rectangle in CABAC decoding
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r-- | libavcodec/h264_cabac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c index 6dacf7a336..390a7b6587 100644 --- a/libavcodec/h264_cabac.c +++ b/libavcodec/h264_cabac.c @@ -1818,8 +1818,7 @@ static av_always_inline void decode_cabac_luma_residual( H264Context *h, const u } } } else { - uint8_t * const nnz= &h->non_zero_count_cache[ scan8[4*i8x8+16*p] ]; - nnz[0] = nnz[1] = nnz[8] = nnz[9] = 0; + fill_rectangle(&h->non_zero_count_cache[scan8[4*i8x8+16*p]], 2, 2, 8, 0, 1); } } } |