# HG changeset patch # User reimar # Date 1408802372 0 # Node ID bb15cab6c0597939f279bff9de1a285ab1a03609 # Parent d4fbf2eb4a04e4b33c058367fdbc3b2b60f32505 Add ZLIB_CONST to make the zlib API const-correct. diff -r d4fbf2eb4a04 -r bb15cab6c059 configure --- a/configure Sun Aug 17 18:06:56 2014 +0000 +++ b/configure Sat Aug 23 13:59:32 2014 +0000 @@ -6441,6 +6441,7 @@ if test "$_zlib" = yes ; then def_zlib='#define CONFIG_ZLIB 1' extra_ldflags="$extra_ldflags -lz" + extra_cflags="$extra_cflags -DZLIB_CONST" # necessary for vf_screenshot mplayer_encoders="$mplayer_encoders PNG_ENCODER" else