diff mbox series

[FFmpeg-devel,2/2] avcodec/mips: fix get_cabac_inline_mips function name

Message ID 20200412015433.249066-2-rosenp@gmail.com
State Accepted
Headers show
Series [FFmpeg-devel,1/2] avcodec/mips: fix compilation with MIPS16 | expand

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate success Make fate finished

Commit Message

Rosen Penev April 12, 2020, 1:54 a.m. UTC
On other platforms, the functions are named get_cabac_inline_xxx but not
this one. There's also a define.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
---
 libavcodec/mips/cabac.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michael Niedermayer April 12, 2020, 2:43 p.m. UTC | #1
On Sat, Apr 11, 2020 at 06:54:33PM -0700, Rosen Penev wrote:
> On other platforms, the functions are named get_cabac_inline_xxx but not
> this one. There's also a define.
> 
> Signed-off-by: Rosen Penev <rosenp@gmail.com>
> ---
>  libavcodec/mips/cabac.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

will apply

thx

[...]
diff mbox series

Patch

diff --git a/libavcodec/mips/cabac.h b/libavcodec/mips/cabac.h
index cc40dbba15..31fef546c8 100644
--- a/libavcodec/mips/cabac.h
+++ b/libavcodec/mips/cabac.h
@@ -30,7 +30,7 @@ 
 
 #ifndef __mips16
 #define get_cabac_inline get_cabac_inline_mips
-static av_always_inline int get_cabac_inline(CABACContext *c,
+static av_always_inline int get_cabac_inline_mips(CABACContext *c,
                                              uint8_t * const state){
     mips_reg tmp0, tmp1, tmp2, bit;