videomixer: orc_init() doesn't need to be called
authorDavid Schleef <ds@schleef.org>
Mon, 6 Sep 2010 01:45:21 +0000 (18:45 -0700)
committerDavid Schleef <ds@schleef.org>
Mon, 6 Sep 2010 01:45:21 +0000 (18:45 -0700)
There's no need to call orc_init() unless you're using the Orc
API directly.  All code created by orcc is guaranteed to work
without calling orc_init().

gst/videomixer/blend.c

index b0ffbf6..9ca6168 100644 (file)
@@ -32,9 +32,6 @@
 #include <string.h>
 
 #include <gst/video/video.h>
-#ifdef HAVE_ORC
-#include <orc/orc.h>
-#endif
 
 #define BLEND(D,S,alpha) (((D) * (256 - (alpha)) + (S) * (alpha)) >> 8)
 
@@ -722,10 +719,6 @@ FillColorFunction gst_video_mixer_fill_color_uyvy;
 void
 gst_video_mixer_init_blend (void)
 {
-#ifdef HAVE_ORC
-  orc_init ();
-#endif
-
   GST_DEBUG_CATEGORY_INIT (gst_videomixer_blend_debug, "videomixer_blend", 0,
       "video mixer blending functions");