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

@@ -139,7 +139,7 @@ static void align_bits(BR *p)
}
}
static int __inline get_br_pos(BR *p)
static inline int get_br_pos(BR *p)
{
return (p->read << 3) + p->bitoffset;
}
@@ -150,7 +150,7 @@ typedef struct _VLCtab
int n;
} VLCtab;
static int __inline get_vlc(BR *br, const VLCtab *table, int bits, int max_depth)
static inline int get_vlc(BR *br, const VLCtab *table, int bits, int max_depth)
{
int n, index, nb_bits, code;
index = show_bits(br, bits);
@@ -171,7 +171,7 @@ static int __inline get_vlc(BR *br, const VLCtab *table, int bits, int max_depth
return code;
}
static int __inline get_vlcdec(BR *p, const VLCtab *table, int bits, int max_depth, VLCDEC *vlcdec)
static inline int get_vlcdec(BR *p, const VLCtab *table, int bits, int max_depth, VLCDEC *vlcdec)
{
int pos = get_br_pos(p);
uint32 show = show_bits(p, 24);