[vlc-devel] commit: Code factor ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Dec 3 22:51:24 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Dec  3 23:49:31 2009 +0200| [2e2cd0b07b9bc0e9ef5b5fbfdaaf8a9e928bd0c2] | committer: Rémi Denis-Courmont 

Code factor

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2e2cd0b07b9bc0e9ef5b5fbfdaaf8a9e928bd0c2
---

 include/vlc_aout.h |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/include/vlc_aout.h b/include/vlc_aout.h
index 4e50076..cd31564 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 ) (                            \




More information about the vlc-devel mailing list