[vlc-commits] Constify aout_OutputNew()
Rémi Denis-Courmont
git at videolan.org
Tue Jun 7 17:15:36 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Tue Jun 7 18:15:25 2011 +0300| [dd89374c492427f8e9bbaa8591d25c7eea7e77d4] | committer: Rémi Denis-Courmont
Constify aout_OutputNew()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd89374c492427f8e9bbaa8591d25c7eea7e77d4
---
src/audio_output/aout_internal.h | 2 +-
src/audio_output/output.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/audio_output/aout_internal.h b/src/audio_output/aout_internal.h
index 3e66f0d..2e52628 100644
--- a/src/audio_output/aout_internal.h
+++ b/src/audio_output/aout_internal.h
@@ -115,7 +115,7 @@ void aout_MixerRun( aout_instance_t * p_aout, float );
/* From output.c : */
int aout_OutputNew( aout_instance_t * p_aout,
- audio_sample_format_t * p_format );
+ const audio_sample_format_t * p_format );
void aout_OutputPlay( aout_instance_t * p_aout, aout_buffer_t * p_buffer );
void aout_OutputDelete( aout_instance_t * p_aout );
diff --git a/src/audio_output/output.c b/src/audio_output/output.c
index 38f3b84..ec82961 100644
--- a/src/audio_output/output.c
+++ b/src/audio_output/output.c
@@ -41,7 +41,7 @@
* This function is entered with the mixer lock.
*****************************************************************************/
int aout_OutputNew( aout_instance_t * p_aout,
- audio_sample_format_t * p_format )
+ const audio_sample_format_t * p_format )
{
p_aout->output.output = *p_format;
More information about the vlc-commits
mailing list