projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b9141aa
)
x86: ac3dsp: Only refer to the ac3_downmix_sse symbol if it has been declared
author
Martin Storsjö
<martin@martin.st>
Thu, 13 Sep 2012 08:18:25 +0000
(11:18 +0300)
committer
Martin Storsjö
<martin@martin.st>
Thu, 13 Sep 2012 10:51:52 +0000
(13:51 +0300)
This fixes building without inline assembly.
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/x86/ac3dsp_init.c
patch
|
blob
|
history
diff --git
a/libavcodec/x86/ac3dsp_init.c
b/libavcodec/x86/ac3dsp_init.c
index
b23a9a1
..
5008d65
100644
(file)
--- a/
libavcodec/x86/ac3dsp_init.c
+++ b/
libavcodec/x86/ac3dsp_init.c
@@
-205,7
+205,9
@@
av_cold void ff_ac3dsp_init_x86(AC3DSPContext *c, int bit_exact)
}
}
+#if HAVE_SSE_INLINE
if (INLINE_SSE(mm_flags)) {
c->downmix = ac3_downmix_sse;
}
+#endif
}