[FFmpeg-cvslog] rv34: remove inline keyword from rv34_decode_block().

Ronald S. Bultje git at videolan.org
Sun Apr 29 22:52:26 CEST 2012


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Apr 28 11:10:57 2012 -0700| [774b681b80af4bcb6df58f5cc9c7254111fbc7f5] | committer: Ronald S. Bultje

rv34: remove inline keyword from rv34_decode_block().

Force-inlining increases object size by 8kB and causes a 2% slowdown.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=774b681b80af4bcb6df58f5cc9c7254111fbc7f5
---

 libavcodec/rv34.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/rv34.c b/libavcodec/rv34.c
index a3d3fcd..beecf67 100644
--- a/libavcodec/rv34.c
+++ b/libavcodec/rv34.c
@@ -282,7 +282,7 @@ static inline void decode_subblock3(DCTELEM *dst, int code, GetBitContext *gb, V
  *  o--o
  */
 
-static inline int rv34_decode_block(DCTELEM *dst, GetBitContext *gb, RV34VLC *rvlc, int fc, int sc, int q_dc, int q_ac1, int q_ac2)
+static int rv34_decode_block(DCTELEM *dst, GetBitContext *gb, RV34VLC *rvlc, int fc, int sc, int q_dc, int q_ac1, int q_ac2)
 {
     int code, pattern, has_ac = 1;
 



More information about the ffmpeg-cvslog mailing list