Skip to content
Snippets Groups Projects
Commit e7467461 authored by Wim Taymans's avatar Wim Taymans
Browse files

postproc: fix compilation when ORC is missing

Fix 'set but not used' compiler error when ORC is missing.
parent b053a505
No related branches found
No related tags found
Loading
......@@ -281,8 +281,10 @@ gst_ffmpeg_log_callback (void *ptr, int level, const char *fmt, va_list vl)
static void
change_context (GstPostProc * postproc, gint width, gint height)
{
#ifdef HAVE_ORC
guint mmx_flags;
guint altivec_flags;
#endif
gint ppflags;
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 :
0);
#else
mmx_flags = 0;
altivec_flags = 0;
ppflags = 0;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment