avwrapper: Adjust prefixed symobols version guard
authorkoda
Mon, 16 Nov 2015 13:59:04 +0100
changeset 11396 b5afd7b48472
parent 11395 10a75af11b4b
child 11397 a7efecf4f49f
avwrapper: Adjust prefixed symobols version guard
hedgewars/avwrapper/avwrapper.c
--- a/hedgewars/avwrapper/avwrapper.c	Sun Nov 15 22:17:36 2015 +0100
+++ b/hedgewars/avwrapper/avwrapper.c	Mon Nov 16 13:59:04 2015 +0100
@@ -79,7 +79,7 @@
 }
 #endif
 
-#if LIBAVCODEC_VERSION_MAJOR < 57
+#if LIBAVCODEC_VERSION_MAJOR < 56
 #define AV_CODEC_CAP_DELAY                  CODEC_CAP_DELAY
 #define AV_CODEC_CAP_VARIABLE_FRAME_SIZE    CODEC_CAP_VARIABLE_FRAME_SIZE
 #define AV_CODEC_FLAG_GLOBAL_HEADER         CODEC_FLAG_GLOBAL_HEADER