Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
2f503efb
Commit
2f503efb
authored
Jan 31, 2006
by
Derk-Jan Hartman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Changed the defined( SYS_DARWIN ) of the --altivec option to a __ppc__ || __ppc64__ check
parent
978d39b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
src/libvlc.c
src/libvlc.c
+1
-1
src/libvlc.h
src/libvlc.h
+1
-1
No files found.
src/libvlc.c
View file @
2f503efb
...
...
@@ -645,7 +645,7 @@ int VLC_Init( int i_object, int i_argc, char *ppsz_argv[] )
if
(
!
config_GetInt
(
p_vlc
,
"sse2"
)
)
libvlc
.
i_cpu
&=
~
CPU_CAPABILITY_SSE2
;
#endif
#if defined( __powerpc__ ) || defined(
SYS_DARWIN
)
#if defined( __powerpc__ ) || defined(
__ppc__ ) || defined( __ppc64__
)
if
(
!
config_GetInt
(
p_vlc
,
"altivec"
)
)
libvlc
.
i_cpu
&=
~
CPU_CAPABILITY_ALTIVEC
;
#endif
...
...
src/libvlc.h
View file @
2f503efb
...
...
@@ -1353,7 +1353,7 @@ vlc_module_begin();
add_bool
(
"sse"
,
1
,
NULL
,
SSE_TEXT
,
SSE_LONGTEXT
,
VLC_TRUE
);
add_bool
(
"sse2"
,
1
,
NULL
,
SSE2_TEXT
,
SSE2_LONGTEXT
,
VLC_TRUE
);
#endif
#if defined( __powerpc__ ) || defined(
SYS_DARWIN
)
#if defined( __powerpc__ ) || defined(
__ppc__ ) || defined( __ppc64__
)
add_bool
(
"altivec"
,
1
,
NULL
,
ALTIVEC_TEXT
,
ALTIVEC_LONGTEXT
,
VLC_TRUE
);
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment