From: nu774 Date: Tue, 29 Oct 2013 10:21:34 +0000 (+0900) Subject: fix pcm_seek() to inline X-Git-Tag: v0.4.2~10 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=3aa2787e343c84c2404aecb71a3123784e8fb85d;p=fdkaac.git fix pcm_seek() to inline --- diff --git a/src/pcm_reader.h b/src/pcm_reader.h index b9490a4..ee062aa 100644 --- a/src/pcm_reader.h +++ b/src/pcm_reader.h @@ -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; }