mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
postproc: fix compilation when ORC is missing
Fix 'set but not used' compiler error when ORC is missing.
This commit is contained in:
parent
b053a50508
commit
e746746120
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue