libeplayer3: fix __inline is not at beginning of declaration [-Wold-style-declaration]

Origin commit data
------------------
Branch: master
Commit: cd9c052a67
Author: max_10 <max_10@gmx.de>
Date: 2019-11-11 (Mon, 11 Nov 2019)

Origin message was:
------------------
- libeplayer3: fix __inline is not at beginning of declaration [-Wold-style-declaration]

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2019-11-11 23:15:48 +01:00
committed by vanhofen
parent f11fb62a52
commit 4893dd5d20
5 changed files with 45 additions and 49 deletions

View File

@@ -40,7 +40,7 @@ static const uint8 mpeg4_c_dc_scale_table[32] =
0, 8, 8, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 20, 21, 22, 23, 24, 25
};
static int __inline get_pred(int *dc_cur, int stride, int scale)
static inline int get_pred(int *dc_cur, int stride, int scale)
{
/* B C
A X */
@@ -62,7 +62,7 @@ static int __inline get_pred(int *dc_cur, int stride, int scale)
return (pred + (scale >> 1)) / scale;
}
static void __inline set_dc_to_dc_cur(int *dc_cur, int level, int scale)
static inline void set_dc_to_dc_cur(int *dc_cur, int level, int scale)
{
level *= scale;
if (level & (~2047))
@@ -88,7 +88,7 @@ static int *get_dc_cur(M4V_DCPRED *pred, int mb_x, int mb_y, int n)
}
}
static int __inline get_scale(M4V_DCPRED *pred, int n)
static inline int get_scale(M4V_DCPRED *pred, int n)
{
if (n < 4)
{