OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0b0c2
)
avcodec/qpeg: make qpeg_decode_inter() noinline
author
Michael Niedermayer
<michaelni@gmx.at>
Wed, 27 Nov 2013 13:33:52 +0000
(14:33 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Wed, 27 Nov 2013 13:41:16 +0000
(14:41 +0100)
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>
libavcodec/qpeg.c
patch
|
blob
|
history
diff --git
a/libavcodec/qpeg.c
b/libavcodec/qpeg.c
index
8e1a2b5
..
94cb5bd
100644
(file)
--- 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)