bs1770gain: update to 0.5.1
This commit is contained in:
parent
520067d9a3
commit
0685a7a78f
@ -1,8 +1,7 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://bs1770gain.sourceforge.net/
|
||||
TERMUX_PKG_DESCRIPTION="Tool to normalize the loudness of different audio files to the same level"
|
||||
TERMUX_PKG_VERSION=0.4.12
|
||||
TERMUX_PKG_REVISION=3
|
||||
TERMUX_PKG_VERSION=0.5.1
|
||||
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/bs1770gain/bs1770gain/${TERMUX_PKG_VERSION}/bs1770gain-${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=cafc5440cf4940939c675e98c8dbeb839f4965d60f74270a37d4ee70559b3a59
|
||||
TERMUX_PKG_SHA256=06749f866417e6bcdb9fb24883cb08ae54248333a532380c7ddc56f7a45a8e64
|
||||
TERMUX_PKG_DEPENDS="ffmpeg, sox"
|
||||
|
||||
|
@ -1,36 +0,0 @@
|
||||
diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_frame.c ./libffsox-2/ffsox_frame.c
|
||||
--- ../bs1770gain-0.4.12/libffsox-2/ffsox_frame.c 2015-06-23 07:38:44.000000000 +0000
|
||||
+++ ./libffsox-2/ffsox_frame.c 2018-06-24 00:20:40.757492455 +0000
|
||||
@@ -48,7 +48,7 @@
|
||||
goto frame;
|
||||
}
|
||||
|
||||
- if (NULL!=codec&&(codec->capabilities&CODEC_CAP_VARIABLE_FRAME_SIZE))
|
||||
+ if (NULL!=codec&&(codec->capabilities&AV_CODEC_CAP_VARIABLE_FRAME_SIZE))
|
||||
nb_samples=10000;
|
||||
else
|
||||
nb_samples=cc->frame_size;
|
||||
diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_frame_writer.c ./libffsox-2/ffsox_frame_writer.c
|
||||
--- ../bs1770gain-0.4.12/libffsox-2/ffsox_frame_writer.c 2015-06-23 07:38:44.000000000 +0000
|
||||
+++ ./libffsox-2/ffsox_frame_writer.c 2018-06-24 00:20:40.757492455 +0000
|
||||
@@ -66,7 +66,7 @@
|
||||
goto open;
|
||||
|
||||
if (fw->so.fc->oformat->flags&AVFMT_GLOBALHEADER)
|
||||
- fw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER;
|
||||
+ fw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
|
||||
fw->so.st->time_base=fw->so.cc->time_base;
|
||||
//fw->so.st->time_base=fr->si.st->time_base;
|
||||
diff -u -r ../bs1770gain-0.4.12/libffsox-2/ffsox_packet_writer.c ./libffsox-2/ffsox_packet_writer.c
|
||||
--- ../bs1770gain-0.4.12/libffsox-2/ffsox_packet_writer.c 2015-06-23 07:38:44.000000000 +0000
|
||||
+++ ./libffsox-2/ffsox_packet_writer.c 2018-06-24 00:20:59.189280111 +0000
|
||||
@@ -65,7 +65,7 @@
|
||||
pw->so.cc->codec_tag=0;
|
||||
|
||||
if (pw->so.fc->oformat->flags&AVFMT_GLOBALHEADER)
|
||||
- pw->so.cc->flags|=CODEC_FLAG_GLOBAL_HEADER;
|
||||
+ pw->so.cc->flags|=AV_CODEC_FLAG_GLOBAL_HEADER;
|
||||
|
||||
if (ffsox_sink_append(so,&pw->si,&pw->so)<0) {
|
||||
DMESSAGE("appending output stream");
|
Loading…
Reference in New Issue
Block a user