postproc: fix compilation when ORC is missing

Fix 'set but not used' compiler error when ORC is missing.
This commit is contained in:
Wim Taymans 2012-04-19 15:35:48 +02:00
parent b053a50508
commit e746746120

View file

@ -281,8 +281,10 @@ gst_ffmpeg_log_callback (void *ptr, int level, const char *fmt, va_list vl)
static void static void
change_context (GstPostProc * postproc, gint width, gint height) change_context (GstPostProc * postproc, gint width, gint height)
{ {
#ifdef HAVE_ORC
guint mmx_flags; guint mmx_flags;
guint altivec_flags; guint altivec_flags;
#endif
gint ppflags; gint ppflags;
GST_DEBUG_OBJECT (postproc, "change_context, width:%d, height:%d", GST_DEBUG_OBJECT (postproc, "change_context, width:%d, height:%d",
@ -302,8 +304,6 @@ change_context (GstPostProc * postproc, gint width, gint height)
| (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? PP_CPU_CAPS_ALTIVEC : | (altivec_flags & ORC_TARGET_ALTIVEC_ALTIVEC ? PP_CPU_CAPS_ALTIVEC :
0); 0);
#else #else
mmx_flags = 0;
altivec_flags = 0;
ppflags = 0; ppflags = 0;
#endif #endif