On Sat, 28 Apr 2012, Ronald S. Bultje wrote:

From: "Ronald S. Bultje" <[email protected]>

Force-inlining increases object size by 8kB and causes a 2% slowdown.
---
libavcodec/rv34.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

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;

--
1.7.9.5

Sounds ok to me

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to