mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +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
|
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue