Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
82845085
Commit
82845085
authored
Jan 25, 2013
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use precise version check for FFmpeg/libav
Pointed-out-by: thresh
parent
a92d777d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+1
-1
modules/codec/avcodec/avcommon.h
modules/codec/avcodec/avcommon.h
+1
-1
modules/codec/avcodec/encoder.c
modules/codec/avcodec/encoder.c
+1
-1
No files found.
modules/codec/avcodec/avcodec.c
View file @
82845085
...
...
@@ -310,7 +310,7 @@ static int OpenDecoder( vlc_object_t *p_this )
p_context
->
opaque
=
(
void
*
)
p_this
;
/* set CPU capabilities */
#if LIBAVUTIL_VERSION_
INT >= AV_VERSION_INT( 51, 42, 0
)
#if LIBAVUTIL_VERSION_
CHECK(51, 25, 0, 42, 100
)
av_set_cpu_flags_mask
(
INT_MAX
&
~
GetVlcDspMask
()
);
#else
p_context
->
dsp_mask
=
GetVlcDspMask
();
...
...
modules/codec/avcodec/avcommon.h
View file @
82845085
...
...
@@ -48,7 +48,7 @@ static inline void vlc_init_avformat(void)
{
vlc_avcodec_lock
();
#if LIBAVUTIL_VERSION_
INT >= AV_VERSION_INT( 51, 42, 0
)
#if LIBAVUTIL_VERSION_
CHECK(51, 25, 0, 42, 100
)
av_set_cpu_flags_mask
(
INT_MAX
&
~
GetVlcDspMask
()
);
#endif
...
...
modules/codec/avcodec/encoder.c
View file @
82845085
...
...
@@ -311,7 +311,7 @@ int OpenEncoder( vlc_object_t *p_this )
p_context
->
opaque
=
(
void
*
)
p_this
;
/* set CPU capabilities */
#if LIBAVUTIL_VERSION_
INT >= AV_VERSION_INT( 51, 42, 0
)
#if LIBAVUTIL_VERSION_
CHECK(51, 25, 0, 42, 100
)
av_set_cpu_flags_mask
(
INT_MAX
&
~
GetVlcDspMask
()
);
#else
p_context
->
dsp_mask
=
GetVlcDspMask
();
...
...
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