mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-29 00:10:57 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user