From 4c2c599e0ac1a4094ae48cd47f43892135ba1938 Mon Sep 17 00:00:00 2001 From: Sam Hocevar Date: Fri, 9 Aug 2002 23:52:31 +0000 Subject: [PATCH] * ./include/audio_output.h: small compilation fix. --- include/audio_output.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/include/audio_output.h b/include/audio_output.h index bf10162991..e5f7a8af42 100644 --- a/include/audio_output.h +++ b/include/audio_output.h @@ -2,7 +2,7 @@ * audio_output.h : audio output interface ***************************************************************************** * Copyright (C) 2002 VideoLAN - * $Id: audio_output.h,v 1.54 2002/08/09 23:46:53 massiot Exp $ + * $Id: audio_output.h,v 1.55 2002/08/09 23:52:31 sam Exp $ * * Authors: Christophe Massiot * @@ -49,10 +49,10 @@ struct audio_sample_format_t #define AOUT_FMT_DTS 0x00200000 #define AOUT_FMTS_IDENTICAL( p_first, p_second ) ( \ - (p_first->i_format == p_second->i_format) \ - && (p_first->i_rate == p_second->i_rate) \ - && (p_first->i_channels == p_second->i_channels \ - || p_first->i_channels == -1 || p_second->i_channels == -1) ) + ((p_first)->i_format == (p_second)->i_format) \ + && ((p_first)->i_rate == (p_second)->i_rate) \ + && ((p_first)->i_channels == (p_second)->i_channels \ + || (p_first)->i_channels == -1 || (p_second)->i_channels == -1) ) #ifdef WORDS_BIGENDIAN # define AOUT_FMT_S16_NE AOUT_FMT_S16_BE @@ -63,9 +63,9 @@ struct audio_sample_format_t #endif #define AOUT_FMT_IS_SPDIF( p_format ) \ - ( (p_format->i_format == AOUT_FMT_SPDIF) \ - || (p_format->i_format == AOUT_FMT_A52) \ - || (p_format->i_format == AOUT_FMT_DTS) ) + ( ((p_format)->i_format == AOUT_FMT_SPDIF) \ + || ((p_format)->i_format == AOUT_FMT_A52) \ + || ((p_format)->i_format == AOUT_FMT_DTS) ) /***************************************************************************** * aout_buffer_t : audio output buffer -- 2.39.2