[MPlayer-cvslog] r37708 - in trunk/libaf: af_bs2b.c af_center.c af_channels.c af_comp.c af_delay.c af_dummy.c af_equalizer.c af_export.c af_extrastereo.c af_format.c af_gate.c af_hrtf.c af_karaoke.c af_ladspa.c af_...
reimar
subversion at mplayerhq.hu
Sat Feb 13 18:32:14 CET 2016
Author: reimar
Date: Sat Feb 13 18:32:14 2016
New Revision: 37708
Log:
Add missing const to af_info_t.
They were already const in the extern
declarations in af.c, so this was probably
just some oversight.
Patch by Lauri Kasanen [cand gmx.com]
Modified:
trunk/libaf/af_bs2b.c
trunk/libaf/af_center.c
trunk/libaf/af_channels.c
trunk/libaf/af_comp.c
trunk/libaf/af_delay.c
trunk/libaf/af_dummy.c
trunk/libaf/af_equalizer.c
trunk/libaf/af_export.c
trunk/libaf/af_extrastereo.c
trunk/libaf/af_format.c
trunk/libaf/af_gate.c
trunk/libaf/af_hrtf.c
trunk/libaf/af_karaoke.c
trunk/libaf/af_ladspa.c
trunk/libaf/af_lavcac3enc.c
trunk/libaf/af_lavcresample.c
trunk/libaf/af_pan.c
trunk/libaf/af_resample.c
trunk/libaf/af_scaletempo.c
trunk/libaf/af_sinesuppress.c
trunk/libaf/af_stats.c
trunk/libaf/af_sub.c
trunk/libaf/af_surround.c
trunk/libaf/af_sweep.c
trunk/libaf/af_volnorm.c
trunk/libaf/af_volume.c
Modified: trunk/libaf/af_bs2b.c
==============================================================================
--- trunk/libaf/af_bs2b.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_bs2b.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -265,7 +265,7 @@ static int af_open(af_instance_t *af)
}
/// Description of this filter
-af_info_t af_info_bs2b = {
+const af_info_t af_info_bs2b = {
"Bauer stereophonic-to-binaural audio filter",
"bs2b",
"Andrew Savchenko",
Modified: trunk/libaf/af_center.c
==============================================================================
--- trunk/libaf/af_center.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_center.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -121,7 +121,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_center = {
+const af_info_t af_info_center = {
"Audio filter for adding a center channel",
"center",
"Alex Beregszaszi",
Modified: trunk/libaf/af_channels.c
==============================================================================
--- trunk/libaf/af_channels.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_channels.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -298,7 +298,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_channels = {
+const af_info_t af_info_channels = {
"Insert or remove channels",
"channels",
"Anders",
Modified: trunk/libaf/af_comp.c
==============================================================================
--- trunk/libaf/af_comp.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_comp.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -159,7 +159,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_comp = {
+const af_info_t af_info_comp = {
"Compressor/expander audio filter",
"comp",
"Anders",
Modified: trunk/libaf/af_delay.c
==============================================================================
--- trunk/libaf/af_delay.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_delay.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -192,7 +192,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_delay = {
+const af_info_t af_info_delay = {
"Delay audio filter",
"delay",
"Anders",
Modified: trunk/libaf/af_dummy.c
==============================================================================
--- trunk/libaf/af_dummy.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_dummy.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -67,7 +67,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_dummy = {
+const af_info_t af_info_dummy = {
"dummy",
"dummy",
"Anders",
Modified: trunk/libaf/af_equalizer.c
==============================================================================
--- trunk/libaf/af_equalizer.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_equalizer.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -240,7 +240,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_equalizer = {
+const af_info_t af_info_equalizer = {
"Equalizer audio filter",
"equalizer",
"Anders",
Modified: trunk/libaf/af_export.c
==============================================================================
--- trunk/libaf/af_export.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_export.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -264,7 +264,7 @@ static int af_open( af_instance_t* af )
}
// Description of this filter
-af_info_t af_info_export = {
+const af_info_t af_info_export = {
"Sound export filter",
"export",
"Anders; Gustavo Sverzut Barbieri <gustavo.barbieri at ic.unicamp.br>",
Modified: trunk/libaf/af_extrastereo.c
==============================================================================
--- trunk/libaf/af_extrastereo.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_extrastereo.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -148,7 +148,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_extrastereo = {
+const af_info_t af_info_extrastereo = {
"Increase difference between audio channels",
"extrastereo",
"Alex Beregszaszi & Pierre Lombard",
Modified: trunk/libaf/af_format.c
==============================================================================
--- trunk/libaf/af_format.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_format.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -336,7 +336,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_format = {
+const af_info_t af_info_format = {
"Sample format conversion",
"format",
"Anders",
Modified: trunk/libaf/af_gate.c
==============================================================================
--- trunk/libaf/af_gate.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_gate.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -154,7 +154,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_gate = {
+const af_info_t af_info_gate = {
"Noise gate audio filter",
"gate",
"Anders",
Modified: trunk/libaf/af_hrtf.c
==============================================================================
--- trunk/libaf/af_hrtf.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_hrtf.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -666,7 +666,7 @@ static int af_open(af_instance_t* af)
}
/* Description of this filter */
-af_info_t af_info_hrtf = {
+const af_info_t af_info_hrtf = {
"HRTF Headphone",
"hrtf",
"ylai",
Modified: trunk/libaf/af_karaoke.c
==============================================================================
--- trunk/libaf/af_karaoke.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_karaoke.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -88,7 +88,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_karaoke = {
+const af_info_t af_info_karaoke = {
"Simple karaoke/voice-removal audio filter",
"karaoke",
"Reynaldo H. Verdejo Pinochet",
Modified: trunk/libaf/af_ladspa.c
==============================================================================
--- trunk/libaf/af_ladspa.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_ladspa.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -104,7 +104,7 @@ static int af_ladspa_malloc_failed(char*
/* Description */
-af_info_t af_info_ladspa = {
+const af_info_t af_info_ladspa = {
"LADSPA plugin loader",
"ladspa",
"Ivo van Poorten",
Modified: trunk/libaf/af_lavcac3enc.c
==============================================================================
--- trunk/libaf/af_lavcac3enc.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_lavcac3enc.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -289,7 +289,7 @@ static int af_open(af_instance_t* af){
return AF_OK;
}
-af_info_t af_info_lavcac3enc = {
+const af_info_t af_info_lavcac3enc = {
"runtime encode to ac3 using libavcodec",
"lavcac3enc",
"Ulion",
Modified: trunk/libaf/af_lavcresample.c
==============================================================================
--- trunk/libaf/af_lavcresample.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_lavcresample.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -183,7 +183,7 @@ static int af_open(af_instance_t* af){
return AF_OK;
}
-af_info_t af_info_lavcresample = {
+const af_info_t af_info_lavcresample = {
"Sample frequency conversion using libavcodec",
"lavcresample",
"Michael Niedermayer",
Modified: trunk/libaf/af_pan.c
==============================================================================
--- trunk/libaf/af_pan.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_pan.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -202,7 +202,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_pan = {
+const af_info_t af_info_pan = {
"Panning audio filter",
"pan",
"Anders",
Modified: trunk/libaf/af_resample.c
==============================================================================
--- trunk/libaf/af_resample.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_resample.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -386,7 +386,7 @@ static int af_open(af_instance_t* af){
}
// Description of this plugin
-af_info_t af_info_resample = {
+const af_info_t af_info_resample = {
"Sample frequency conversion",
"resample",
"Anders",
Modified: trunk/libaf/af_scaletempo.c
==============================================================================
--- trunk/libaf/af_scaletempo.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_scaletempo.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -564,7 +564,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_scaletempo = {
+const af_info_t af_info_scaletempo = {
"Scale audio tempo while maintaining pitch",
"scaletempo",
"Robert Juliano",
Modified: trunk/libaf/af_sinesuppress.c
==============================================================================
--- trunk/libaf/af_sinesuppress.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_sinesuppress.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -175,7 +175,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_sinesuppress = {
+const af_info_t af_info_sinesuppress = {
"Sine Suppress",
"sinesuppress",
"Michael Niedermayer",
Modified: trunk/libaf/af_stats.c
==============================================================================
--- trunk/libaf/af_stats.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_stats.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -150,7 +150,7 @@ static int af_open(af_instance_t *af)
return AF_OK;
}
-af_info_t af_info_stats = {
+const af_info_t af_info_stats = {
"Statistics audio filter",
"stats",
"Nicolas George",
Modified: trunk/libaf/af_sub.c
==============================================================================
--- trunk/libaf/af_sub.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_sub.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -180,7 +180,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_sub = {
+const af_info_t af_info_sub = {
"Audio filter for adding a sub-base channel",
"sub",
"Anders",
Modified: trunk/libaf/af_surround.c
==============================================================================
--- trunk/libaf/af_surround.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_surround.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -263,7 +263,7 @@ static int af_open(af_instance_t* af){
return AF_OK;
}
-af_info_t af_info_surround =
+const af_info_t af_info_surround =
{
"Surround decoder filter",
"surround",
Modified: trunk/libaf/af_sweep.c
==============================================================================
--- trunk/libaf/af_sweep.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_sweep.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -93,7 +93,7 @@ static int af_open(af_instance_t* af){
return AF_OK;
}
-af_info_t af_info_sweep = {
+const af_info_t af_info_sweep = {
"sine sweep",
"sweep",
"Michael Niedermayer",
Modified: trunk/libaf/af_volnorm.c
==============================================================================
--- trunk/libaf/af_volnorm.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_volnorm.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -344,7 +344,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_volnorm = {
+const af_info_t af_info_volnorm = {
"Volume normalizer filter",
"volnorm",
"Alex Beregszaszi & Pierre Lombard",
Modified: trunk/libaf/af_volume.c
==============================================================================
--- trunk/libaf/af_volume.c Sat Feb 13 18:28:08 2016 (r37707)
+++ trunk/libaf/af_volume.c Sat Feb 13 18:32:14 2016 (r37708)
@@ -221,7 +221,7 @@ static int af_open(af_instance_t* af){
}
// Description of this filter
-af_info_t af_info_volume = {
+const af_info_t af_info_volume = {
"Volume control audio filter",
"volume",
"Anders",
More information about the MPlayer-cvslog
mailing list