vlc | branch: master | Jean-Baptiste Kempf <[email protected]> | Tue Mar 26 00:34:34 2013 +0100| [d9e90b4d925a09506407a6c0300213d3f7149658] | committer: Jean-Baptiste Kempf
Restore compatibility with some version of FFmpeg > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d9e90b4d925a09506407a6c0300213d3f7149658 --- modules/codec/avcodec/video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c index ab5bc66..7697ef9 100644 --- a/modules/codec/avcodec/video.c +++ b/modules/codec/avcodec/video.c @@ -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 _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
