Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
d9e90b4d
Commit
d9e90b4d
authored
Mar 26, 2013
by
Jean-Baptiste Kempf
Browse files
Restore compatibility with some version of FFmpeg
parent
84d91009
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/codec/avcodec/video.c
View file @
d9e90b4d
...
...
@@ -230,7 +230,7 @@ int InitVideoDec( decoder_t *p_dec, AVCodecContext *p_context,
if
(
var_CreateGetBool
(
p_dec
,
"avcodec-fast"
)
)
p_sys
->
p_context
->
flags2
|=
CODEC_FLAG2_FAST
;
#if LIBAVCODEC_VERSION_
INT >= AV_VERSION_INT
( 54, 41, 0 )
#if LIBAVCODEC_VERSION_
CHECK
( 54, 41, 0
, 91, 100
)
if
(
var_InheritBool
(
p_dec
,
"avcodec-ignorecrop"
)
)
p_sys
->
p_context
->
flags2
|=
CODEC_FLAG2_IGNORE_CROP
;
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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