ac3dec: Add some inline hints
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 18 Jul 2016 17:50:34 +0000 (19:50 +0200)
committerDiego Biurrun <diego@biurrun.de>
Fri, 29 Jul 2016 16:46:48 +0000 (18:46 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/ac3dec.c

index a263164..9afc54d 100644 (file)
@@ -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;