Merge pull request #13 from hbsnmyj/master

fixed an inline linkage issue.
This commit is contained in:
powturbo
2017-06-07 22:02:04 +02:00
committed by GitHub

2
vp4c.c
View File

@ -283,7 +283,7 @@ unsigned TEMPLATE2(_P4BITS, USIZE)(uint_t *__restrict in, unsigned n, unsigned *
}
#endif
inline unsigned char *TEMPLATE2(_P4ENC, USIZE)(uint_t *__restrict in, unsigned n, unsigned char *__restrict out, unsigned b, unsigned bx) {
unsigned char *TEMPLATE2(_P4ENC, USIZE)(uint_t *__restrict in, unsigned n, unsigned char *__restrict out, unsigned b, unsigned bx) {
if(!bx)
return TEMPLATE2(BITPACK, USIZE)(in, n, out, b);