projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d2877f
)
DWT: x86 init should depend on HAVE_MMX
author
Måns Rullgård
<mans@mansr.com>
Sun, 14 Mar 2010 22:29:11 +0000
(22:29 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sun, 14 Mar 2010 22:29:11 +0000
(22:29 +0000)
The init function is only compiled if MMX is enabled, the call
must use the same condition.
Originally committed as revision 22531 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/dwt.c
patch
|
blob
|
blame
|
history
diff --git
a/libavcodec/dwt.c
b/libavcodec/dwt.c
index
0b8f545
..
2ecb04a
100644
(file)
--- a/
libavcodec/dwt.c
+++ b/
libavcodec/dwt.c
@@
-839,5
+839,5
@@
void ff_dwt_init(DWTContext *c)
c->horizontal_compose97i = ff_snow_horizontal_compose97i;
c->inner_add_yblock = ff_snow_inner_add_yblock;
- if (
ARCH_X86
) ff_dwt_init_x86(c);
+ if (
HAVE_MMX
) ff_dwt_init_x86(c);
}