You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vlc/x264-Fix-build-with-a-newer...

14 lines
555 B

diff --git a/modules/codec/x264.c b/modules/codec/x264.c
index e02048f075..dec95a9c78 100644
--- a/modules/codec/x264.c
+++ b/modules/codec/x264.c
@@ -842,7 +842,7 @@ static int Open ( vlc_object_t *p_this )
fullrange |= p_enc->fmt_in.video.b_color_range_full;
p_enc->fmt_in.i_codec = fullrange ? VLC_CODEC_J420 : VLC_CODEC_I420;
p_sys->i_colorspace = X264_CSP_I420;
-#if X264_BUILD >= 118
+#if X264_BUILD >= 118 && X264_BUILD < 153
char *psz_profile = var_GetString( p_enc, SOUT_CFG_PREFIX "profile" );
if( psz_profile )
{