avcodec/mips/cabac: replace addi with addiu
authorYunQiang Su <syq@debian.org>
Tue, 2 Jul 2019 03:52:43 +0000 (11:52 +0800)
committerMichael Niedermayer <michael@niedermayer.cc>
Wed, 10 Jul 2019 10:54:57 +0000 (12:54 +0200)
commit925e33b253c81112960854c61cdbb71682e51f4b
tree64ae34e40220797d1c30080f652710c2ea0fa487
parenta45e8ade2d2d46fde48ee0567ab18e23dc8c71d1
avcodec/mips/cabac: replace addi with addiu

addi/daddi are deprecated by MIPS for years, and MIPS r6 remove
them.

They should be replace with addiu:
   ADDIU performs the same arithmetic operation but
   does not trap on overflow.

Reviewed-by: Shiyou Yin <yinshiyou-hf@loongson.cn>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/mips/cabac.h