wok-6.x rev 16662
gejengel: update ffmpeg patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 14 07:43:12 2014 +0000 (2014-05-14) |
parents | ae84e29836bb |
children | 1d5099bdcfad |
files | gejengel/receipt |
line diff
1.1 --- a/gejengel/receipt Wed May 14 07:04:33 2014 +0000 1.2 +++ b/gejengel/receipt Wed May 14 07:43:12 2014 +0000 1.3 @@ -20,8 +20,13 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - sed -i 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \ 1.8 - src/AudioDecoder/ffmpegdecoder.cpp 1.9 + sed -i -e 's/CODEC_TYPE_AUDIO/AVMEDIA_TYPE_AUDIO/' \ 1.10 + -e 's/SAMPLE_FMT_S16/AV_&/' -e 's/SAMPLE_FMT_U8/AV_&/' \ 1.11 + -e 's/SAMPLE_FMT_S32/AV_&/' \ 1.12 + -e 's/AVCODEC_MAX_AUDIO_FRAME_SIZE/192000/' \ 1.13 + -e 's/av_open_input_file\(.*\), NULL/avformat_open_input\1/' \ 1.14 + -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ 1.15 + src/AudioDecoder/ffmpegdecoder.cpp 1.16 find . -name '*.h' -o -name '*.c*' | xargs sed -i 's|glibmm/i18n|glib/gi18n|' 1.17 ./configure --enable-alsa --enable-ffmpeg --enable-flac \ 1.18 $CONFIGURE_ARGS && make && make install