[vlc-commits] aout: remove another write-only parameter
Rémi Denis-Courmont
git at videolan.org
Sun Nov 11 15:05:23 CET 2012
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 11 16:05:10 2012 +0200| [3690c9e2b30043dd6f70b853bd8a5b72e0589341] | committer: Rémi Denis-Courmont
aout: remove another write-only parameter
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3690c9e2b30043dd6f70b853bd8a5b72e0589341
---
src/audio_output/aout_internal.h | 3 ---
src/audio_output/input.c | 2 --
2 files changed, 5 deletions(-)
diff --git a/src/audio_output/aout_internal.h b/src/audio_output/aout_internal.h
index aa5f4dd..9621297 100644
--- a/src/audio_output/aout_internal.h
+++ b/src/audio_output/aout_internal.h
@@ -52,9 +52,6 @@ struct aout_input_t
int i_resampling_type;
int i_resamp_start_drift;
- /* last rate from input */
- int i_last_input_rate;
-
/* */
int i_buffer_lost;
};
diff --git a/src/audio_output/input.c b/src/audio_output/input.c
index 61528b9..1a9ea83 100644
--- a/src/audio_output/input.c
+++ b/src/audio_output/input.c
@@ -32,7 +32,6 @@
#include <vlc_common.h>
#include <vlc_input.h>
#include <vlc_aout.h>
-#include <vlc_filter.h>
#include <libvlc.h>
#include "aout_internal.h"
@@ -48,7 +47,6 @@ aout_input_t *aout_InputNew (void)
aout_input_t *p_input = xmalloc (sizeof (*p_input));
p_input->i_resampling_type = AOUT_RESAMPLING_NONE;
- p_input->i_last_input_rate = INPUT_RATE_DEFAULT;
p_input->i_buffer_lost = 0;
return p_input;
}
More information about the vlc-commits
mailing list