diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-27 14:33:52 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-27 14:41:16 +0100 |
commit | f13f139febf4de6ffc2bd9d302ba6e72d824606e (patch) | |
tree | 3098c32deab68a0d1743a23952e48cc16b9f23f5 /libavcodec | |
parent | ec0b0c2b5875e4cb58ea19f82db6574774256e9d (diff) | |
download | ffmpeg-f13f139febf4de6ffc2bd9d302ba6e72d824606e.tar.gz |
avcodec/qpeg: make qpeg_decode_inter() noinline
This should workaround an apparent mis-compilation with gcc 4.2 on BSD
The function is rarely called and not inlining should have no speed
effect
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/qpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qpeg.c b/libavcodec/qpeg.c index 8e1a2b5f95..94cb5bd0b6 100644 --- a/libavcodec/qpeg.c +++ b/libavcodec/qpeg.c @@ -110,7 +110,7 @@ static const int qpeg_table_w[16] = { 0x00, 0x20, 0x18, 0x08, 0x18, 0x10, 0x20, 0x10, 0x08, 0x10, 0x20, 0x20, 0x08, 0x10, 0x18, 0x04}; /* Decodes delta frames */ -static void qpeg_decode_inter(QpegContext *qctx, uint8_t *dst, +static void av_noinline qpeg_decode_inter(QpegContext *qctx, uint8_t *dst, int stride, int width, int height, int delta, const uint8_t *ctable, uint8_t *refdata) |