1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

- fixed modifiers keys behaviour in TextInput

- erm compilation is optional in cmake (too memory-consuming for old systems)
-  minor fixes
This commit is contained in:
Ivan Savenko
2012-08-10 08:49:18 +00:00
parent d3d24d0737
commit d72c44e4c3
7 changed files with 15 additions and 6 deletions

View File

@@ -749,7 +749,7 @@ bool CVideoPlayer::open(std::string fname, bool loop, bool useOverlay)
}
// Open codec
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53, 17, 0)
#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(53, 6, 0)
if ( avcodec_open(codecContext, codec) < 0 )
#else
if ( avcodec_open2(codecContext, codec, NULL) < 0 )