Browse Source

avcodec/mips/cabac: Fix a bug in get_cabac_inline_mips.

Failed fate case: fate-h264-conformance-caba2_sony_e
Clang is more strict in the use of register constraint.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n4.4
Shiyou Yin Michael Niedermayer 5 years ago
parent
commit
1563b4b4c6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mips/cabac.h

+ 1
- 1
libavcodec/mips/cabac.h View File

@@ -109,7 +109,7 @@ static av_always_inline int get_cabac_inline_mips(CABACContext *c,
[lps_off]"i"(H264_LPS_RANGE_OFFSET),
[mlps_off]"i"(H264_MLPS_STATE_OFFSET + 128),
[norm_off]"i"(H264_NORM_SHIFT_OFFSET),
[cabac_mask]"i"(CABAC_MASK)
[cabac_mask]"r"(CABAC_MASK)
: "memory"
);



Loading…
Cancel
Save