avwrapper: Adjust prefixed symobols version guard 0.9.22
authorkoda
Mon, 16 Nov 2015 13:59:04 +0100
branch0.9.22
changeset 11606 1b58732e0dd7
parent 11605 7ee2697a5267
child 11607 1a57b0d4cc4e
avwrapper: Adjust prefixed symobols version guard
hedgewars/avwrapper/avwrapper.c
--- a/hedgewars/avwrapper/avwrapper.c	Thu Nov 12 02:41:40 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