Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(231)

Unified Diff: patches/to_upstream/13_libvpx_check_decoder_only.patch

Issue 3066011: ffmpeg configured with webm decode only to avoid postproc that pulls in unuse... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: '' Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: patches/to_upstream/13_libvpx_check_decoder_only.patch
===================================================================
--- patches/to_upstream/13_libvpx_check_decoder_only.patch (revision 0)
+++ patches/to_upstream/13_libvpx_check_decoder_only.patch (revision 0)
@@ -0,0 +1,14 @@
+diff -rpu -N orig/configure ffmpeg-mt/configure
+--- orig/configure 2010-07-28 14:53:40.212277500 -0700
++++ ffmpeg-mt/configure 2010-07-28 14:53:54.825738700 -0700
+@@ -2657,8 +2657,8 @@ enabled libschroedinger && add_cflags $(
+ enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex
+ enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
+ enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
+-enabled libvpx && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx &&
+- check_lib2 "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_enc_init_ver -lvpx ||
++# only check decoder version to allow linking with libvpx built with --enable-vp8-decoder
++enabled libvpx && { check_lib2 "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_dec_init_ver -lvpx ||
+ die "ERROR: libvpx version must be >=0.9.1"; }
+ enabled libx264 && require libx264 x264.h x264_encoder_encode -lx264 &&
+ { check_cpp_condition x264.h "X264_BUILD >= 98" ||
Property changes on: patches\to_upstream\13_libvpx_check_decoder_only.patch
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698