anaglyph: dead code
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 18:14:44 +0000 (21:14 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 25 Aug 2014 18:14:44 +0000 (21:14 +0300)
modules/video_filter/anaglyph.c

index 5e103d4..667b160 100644 (file)
@@ -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;