X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=modules%2Faudio_mixer%2Fspdif.c;h=aa65ff021c7077e571cca0bc259991a550b435bb;hb=3f35c5171d9181434ebb16ffbdec7f7d62c28b8d;hp=e54c7bccc8db554e61da672b74b5dbb3834ca827;hpb=2cb472dba008f7d877ffe6bae9c5575253365282;p=vlc diff --git a/modules/audio_mixer/spdif.c b/modules/audio_mixer/spdif.c index e54c7bccc8..aa65ff021c 100644 --- a/modules/audio_mixer/spdif.c +++ b/modules/audio_mixer/spdif.c @@ -10,7 +10,7 @@ * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the @@ -24,12 +24,14 @@ /***************************************************************************** * Preamble *****************************************************************************/ -#include /* malloc(), free() */ -#include -#include -#include "audio_output.h" -#include "aout_internal.h" +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + +#include +#include +#include /***************************************************************************** * Local prototypes @@ -44,7 +46,7 @@ static void DoWork ( aout_instance_t *, aout_buffer_t * ); vlc_module_begin(); set_category( CAT_AUDIO ); set_subcategory( SUBCAT_AUDIO_MISC ); - set_description( _("Dummy S/PDIF audio mixer") ); + set_description( N_("Dummy S/PDIF audio mixer") ); set_capability( "audio mixer", 1 ); set_callbacks( Create, NULL ); vlc_module_end(); @@ -91,7 +93,7 @@ static void DoWork( aout_instance_t * p_aout, aout_buffer_t * p_buffer ) p_input = p_aout->pp_inputs[i]; if ( p_input->b_error ) continue; p_fifo = &p_input->fifo; - p_deleted = p_fifo->p_first; + p_deleted = p_fifo->p_first; while ( p_deleted != NULL ) { aout_buffer_t * p_next = p_deleted->p_next;