[vlc-devel] commit: Simplify vout_ChromaCmp. (Laurent Aimar )

git version control git at videolan.org
Mon Sep 8 22:41:40 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Sep  8 22:29:10 2008 +0200| [a711e76f42a2a8a882a53686fcdebd98de639956] | committer: Laurent Aimar 

Simplify vout_ChromaCmp.

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

 src/video_output/vout_pictures.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/src/video_output/vout_pictures.c b/src/video_output/vout_pictures.c
index d0e124e..bdb2a17 100644
--- a/src/video_output/vout_pictures.c
+++ b/src/video_output/vout_pictures.c
@@ -989,16 +989,6 @@ int vout_ChromaCmp( vlc_fourcc_t i_chroma, vlc_fourcc_t i_amorhc )
                     return 0;
             }
 
-        case FOURCC_RGBP:
-            switch( i_amorhc )
-            {
-                case FOURCC_RGBP:
-                    return 1;
-
-                default:
-                    return 0;
-            }
-
         default:
             return 0;
     }




More information about the vlc-devel mailing list