mirror of
https://github.com/nu774/fdkaac.git
synced 2025-01-21 11:25:25 +01:00
fix pcm_seek() to inline
This commit is contained in:
parent
b159a7b095
commit
3aa2787e34
@ -85,7 +85,7 @@ uint32_t bitcount(uint32_t bits)
|
||||
int pcm_read(pcm_io_context_t *io, void *buffer, uint32_t size);
|
||||
int pcm_skip(pcm_io_context_t *io, int64_t count);
|
||||
|
||||
static int pcm_seek(pcm_io_context_t *io, int64_t off, int whence)
|
||||
static inline int pcm_seek(pcm_io_context_t *io, int64_t off, int whence)
|
||||
{
|
||||
return io->vtbl->seek ? io->vtbl->seek(io->cookie, off, whence) : -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user