Skip to content

Instantly share code, notes, and snippets.

@j0sh
Created May 1, 2014 17:54
Show Gist options
  • Select an option

  • Save j0sh/49279770982645d012c3 to your computer and use it in GitHub Desktop.

Select an option

Save j0sh/49279770982645d012c3 to your computer and use it in GitHub Desktop.
commit 78abe68e412223fb7a79efaddf3553617f19b66d
Author: Josh Allmann <joshua.allmann@gmail.com>
Date: Thu May 1 10:41:17 2014 -0700
configure: Select zlib when enabling png.
Currently, --disable-everything --enable-decoder=png won't actually
enable the PNG decoder unless --enable-zlib is also specified.
This patch implicitly enables zlib.
diff --git a/configure b/configure
index 4f0a2eb..7bd700c 100755
--- a/configure
+++ b/configure
@@ -1807,8 +1807,8 @@ mxpeg_decoder_select="mjpeg_decoder"
nellymoser_decoder_select="mdct sinewin"
nellymoser_encoder_select="audio_frame_queue mdct sinewin"
nuv_decoder_select="dsputil lzo"
-png_decoder_deps="zlib"
-png_encoder_deps="zlib"
+png_decoder_select="zlib"
+png_encoder_select="zlib"
png_encoder_select="dsputil"
prores_decoder_select="dsputil"
prores_encoder_select="dsputil"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment