summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2016-07-18 19:50:34 +0200
committerDiego Biurrun <diego@biurrun.de>2016-07-29 18:46:48 +0200
commit8495d84f0101464b15517860db33e8605586d87e (patch)
treecfc77009aebf117917a06ca7c609ddc3ce49005a /libavcodec
parent3db51bf671defd47f2ec5ab67b11fb7730fb5e5a (diff)
downloadffmpeg-streaming-8495d84f0101464b15517860db33e8605586d87e.zip
ffmpeg-streaming-8495d84f0101464b15517860db33e8605586d87e.tar.gz
ac3dec: Add some inline hints
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/ac3dec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index a263164..9afc54d 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -548,8 +548,8 @@ static void remove_dithering(AC3DecodeContext *s) {
}
}
-static void decode_transform_coeffs_ch(AC3DecodeContext *s, int blk, int ch,
- mant_groups *m)
+static inline void decode_transform_coeffs_ch(AC3DecodeContext *s, int blk,
+ int ch, mant_groups *m)
{
if (!s->channel_uses_aht[ch]) {
ac3_decode_transform_coeffs_ch(s, ch, m);
@@ -568,7 +568,7 @@ static void decode_transform_coeffs_ch(AC3DecodeContext *s, int blk, int ch,
/**
* Decode the transform coefficients.
*/
-static void decode_transform_coeffs(AC3DecodeContext *s, int blk)
+static inline void decode_transform_coeffs(AC3DecodeContext *s, int blk)
{
int ch, end;
int got_cplchan = 0;
OpenPOWER on IntegriCloud