summaryrefslogtreecommitdiff
path: root/libavcodec/h264_cabac.c
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-11-08 14:15:16 -0300
committerJames Almer <jamrial@gmail.com>2017-11-08 14:23:48 -0300
commitbc987cf91dd9975b0949bb5f91b9f266ca53e0ff (patch)
tree576c2374596c851ce3c45a04d52466e7acf3198e /libavcodec/h264_cabac.c
parent5fd6fa0ca7f32d800a6044d28fb33a88e8de7283 (diff)
parent45c4bf3df03ef53ae61fa1473424d4ae024f22e4 (diff)
Merge commit '45c4bf3df03ef53ae61fa1473424d4ae024f22e4'
* commit '45c4bf3df03ef53ae61fa1473424d4ae024f22e4': h264dec: track the last seen value of x264_build Merged-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/h264_cabac.c')
-rw-r--r--libavcodec/h264_cabac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_cabac.c b/libavcodec/h264_cabac.c
index 345834645c..ec5fc74b9b 100644
--- a/libavcodec/h264_cabac.c
+++ b/libavcodec/h264_cabac.c
@@ -2347,7 +2347,7 @@ decode_intra_mb:
if (CHROMA444(h) && IS_8x8DCT(mb_type)){
int i;
uint8_t *nnz_cache = sl->non_zero_count_cache;
- if (h->sei.unregistered.x264_build < 151U) {
+ if (h->x264_build < 151U) {
for (i = 0; i < 2; i++){
if (sl->left_type[LEFT(i)] && !IS_8x8DCT(sl->left_type[LEFT(i)])) {
nnz_cache[3+8* 1 + 2*8*i]=