Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
7fa3799a
Commit
7fa3799a
authored
Oct 09, 2012
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Kill a deprecation warning
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
6eda4e0c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
modules/codec/avcodec/avcodec.c
modules/codec/avcodec/avcodec.c
+5
-2
No files found.
modules/codec/avcodec/avcodec.c
View file @
7fa3799a
...
@@ -328,9 +328,12 @@ static int OpenDecoder( vlc_object_t *p_this )
...
@@ -328,9 +328,12 @@ static int OpenDecoder( vlc_object_t *p_this )
return
VLC_ENOMEM
;
return
VLC_ENOMEM
;
p_context
->
debug
=
var_InheritInteger
(
p_dec
,
"avcodec-debug"
);
p_context
->
debug
=
var_InheritInteger
(
p_dec
,
"avcodec-debug"
);
p_context
->
opaque
=
(
void
*
)
p_this
;
p_context
->
opaque
=
(
void
*
)
p_this
;
p_context
->
dsp_mask
=
GetVlcDspMask
();
/* set CPU capabilities */
/* set CPU capabilities */
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 51, 25, 0 )
#if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT( 51, 25, 0 )
av_set_cpu_flags_mask
(
INT_MAX
&
~
p_context
->
dsp_mask
);
av_set_cpu_flags_mask
(
INT_MAX
&
~
GetVlcDspMask
()
);
#else
p_context
->
dsp_mask
=
GetVlcDspMask
();
#endif
#endif
p_dec
->
b_need_packetized
=
true
;
p_dec
->
b_need_packetized
=
true
;
...
...
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