wok-current rev 16654
miro: update ffmpeg patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 13 15:42:58 2014 +0000 (2014-05-13) |
parents | 6020e80e880a |
children | 1684090fa1d1 |
files | linphone/receipt miro/receipt |
line diff
1.1 --- a/linphone/receipt Tue May 13 14:25:38 2014 +0000 1.2 +++ b/linphone/receipt Tue May 13 15:42:58 2014 +0000 1.3 @@ -19,6 +19,11 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + sed -i -e 's/CodecID/AV&/' \ 1.8 + -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ 1.9 + -e 's/avcodec_get_context_defaults(\([^)]*\)/avcodec_get_context_defaults3(\1, NULL/' \ 1.10 + -e 's/avcodec_alloc_context(\([^)]*\)/avcodec_alloc_context3(\1 NULL/' \ 1.11 + mediastreamer2/src/*.c 1.12 # Define deprecated ffmepg flags ... 1.13 CFLAGS="-DCODEC_FLAG_PART=0x0080 -DCODEC_FLAG_H263P_UMV=0x0200000 -DCODEC_FLAG_H263P_SLICE_STRUCT=0x01000000 -DFF_I_TYPE=1" \ 1.14 LIBS="-lavutil -lz" \
2.1 --- a/miro/receipt Tue May 13 14:25:38 2014 +0000 2.2 +++ b/miro/receipt Tue May 13 15:42:58 2014 +0000 2.3 @@ -30,6 +30,7 @@ 2.4 -e 's/av_write_header(oc)/avformat_write_header(oc, NULL)/' \ 2.5 -e 's/put_flush_packet/avio_flush/' \ 2.6 -e 's/url_fclose/avio_close/' \ 2.7 + -e 's/avcodec_open(\([^)]*\)/avcodec_open2(\1, NULL/' \ 2.8 miro-segmenter.c 2.9 python setup.py install --root=$DESTDIR 2.10 sed -i "s|./miro.real|/usr/bin/miro.real|g" $DESTDIR/usr/bin/miro