]> git.sesse.net Git - vlc/commitdiff
Code factor
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 3 Dec 2009 21:49:31 +0000 (23:49 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 3 Dec 2009 21:51:16 +0000 (23:51 +0200)
include/vlc_aout.h

index 4e5007678a039834ea4408c29af9333b37936439..cd3156440e36d356248309bda0dca34aa6f218dc 100644 (file)
@@ -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 ) (                            \