]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/h264_cabac.c
Fix VDPAU decoding for some H264 samples.
[ffmpeg] / libavcodec / h264_cabac.c
index 3975a616996860b5751f908c697fc57f6fedb375..a373edbb4e20cddc722b46f874f0156dbeb73e03 100644 (file)
@@ -1647,7 +1647,7 @@ static av_always_inline void decode_cabac_residual_internal( H264Context *h, DCT
             index[coeff_count++] = last;\
         }
         const uint8_t *sig_off = significant_coeff_flag_offset_8x8[MB_FIELD];
-#if ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS)
+#if ARCH_X86 && HAVE_7REGS && HAVE_EBX_AVAILABLE && !defined(BROKEN_RELOCATIONS) && HAVE_TEN_OPERANDS
         coeff_count= decode_significance_8x8_x86(CC, significant_coeff_ctx_base, index,
                                                  last_coeff_ctx_base-significant_coeff_ctx_base, sig_off);
     } else {