Ticket #20938: patch-ffmpeg-configure.diff

File patch-ffmpeg-configure.diff, 782 bytes (added by dave@…, 15 years ago)

Patch to ffmpeg 0.5’s configure script to enable detection of newer versions of libx264.

  • configure

    old new  
    19931993enabled libspeex   && require  libspeex speex/speex.h speex_decoder_init -lspeex
    19941994enabled libtheora  && require  libtheora theora/theora.h theora_info_init -ltheora -logg
    19951995enabled libvorbis  && require  libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
    1996 enabled libx264    && require  libx264 x264.h x264_encoder_open -lx264 -lm &&
     1996enabled libx264    && require  libx264 x264.h x264_encoder_encode -lx264 -lm &&
    19971997                      { check_cpp_condition x264.h "X264_BUILD >= 65" ||
    19981998                        die "ERROR: libx264 version must be >= 0.65."; }
    19991999enabled libxvid    && require  libxvid xvid.h xvid_global -lxvidcore