[vlc-commits] anaglyph: dead code

Rémi Denis-Courmont git at videolan.org
Mon Aug 25 20:14:49 CEST 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 25 21:14:44 2014 +0300| [1c4635c208d4de6cf335d0013995a5f0687d0a0e] | committer: Rémi Denis-Courmont

anaglyph: dead code

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

 modules/video_filter/anaglyph.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/modules/video_filter/anaglyph.c b/modules/video_filter/anaglyph.c
index 5e103d4..667b160 100644
--- a/modules/video_filter/anaglyph.c
+++ b/modules/video_filter/anaglyph.c
@@ -45,8 +45,7 @@ static void combine_side_by_side_yuv420(picture_t *, picture_t *, int, int);
  * color schemes */
 enum scheme_e
 {
-    unknown = 0,
-    red_green,
+    red_green = 1,
     red_blue,
     red_cyan,
     trioscopic,
@@ -156,9 +155,6 @@ static int Create(vlc_object_t *p_this)
             p_sys->left = 0xff00ff;
             p_sys->right = 0x00ffff;
             break;
-        case unknown:
-            msg_Err(p_filter, "Oops");
-            break;
     }
 
     p_filter->pf_video_filter = Filter;



More information about the vlc-commits mailing list