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
c311b5fa
Commit
c311b5fa
authored
Oct 04, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avcodec: set the cpu flags/mask in modern version of libavutil
parent
6012a9c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+3
-0
No files found.
modules/codec/avcodec/avcodec.c
View file @
c311b5fa
...
...
@@ -329,6 +329,9 @@ static int OpenDecoder( vlc_object_t *p_this )
p_context
->
debug
=
var_InheritInteger
(
p_dec
,
"avcodec-debug"
);
p_context
->
opaque
=
(
void
*
)
p_this
;
p_context
->
dsp_mask
=
GetVlcDspMask
();
/* set CPU capabilities */
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 51, 25, 0 )
av_set_cpu_flags_mask
(
INT_MAX
&
~
p_context
->
dsp_mask
);
#endif
p_dec
->
b_need_packetized
=
true
;
switch
(
i_cat
)
...
...
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