From 2e2cd0b07b9bc0e9ef5b5fbfdaaf8a9e928bd0c2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Thu, 3 Dec 2009 23:49:31 +0200 Subject: [PATCH] Code factor --- include/vlc_aout.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/vlc_aout.h b/include/vlc_aout.h index 4e5007678a..cd3156440e 100644 --- a/include/vlc_aout.h +++ b/include/vlc_aout.h @@ -37,9 +37,7 @@ extern "C" { #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_physical_channels == (p_second)->i_physical_channels)\ - && ((p_first)->i_original_channels == (p_second)->i_original_channels) ) + && AOUT_FMTS_SIMILAR(p_first, p_second) ) /* Check if i_rate == i_rate and i_channels == i_channels */ #define AOUT_FMTS_SIMILAR( p_first, p_second ) ( \ -- 2.39.2