mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
[MOVED FROM BAD 024/134] vp8: Undef HAVE_CONFIG_H before including libvpx headers
A public libvpx header includes private headers if this is defined, causing compilation failures because the private headers are not installed of course.
This commit is contained in:
parent
78fc2011db
commit
67adf511fd
3 changed files with 18 additions and 0 deletions
|
@ -33,6 +33,12 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
/* FIXME: Undef HAVE_CONFIG_H because vpx_codec.h uses it,
|
||||
* which causes compilation failures */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#undef HAVE_CONFIG_H
|
||||
#endif
|
||||
|
||||
#include <vpx/vpx_decoder.h>
|
||||
#include <vpx/vp8dx.h>
|
||||
|
||||
|
|
|
@ -34,6 +34,11 @@
|
|||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
/* FIXME: Undef HAVE_CONFIG_H because vpx_codec.h uses it,
|
||||
* which causes compilation failures */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#undef HAVE_CONFIG_H
|
||||
#endif
|
||||
|
||||
#include <vpx/vpx_encoder.h>
|
||||
#include <vpx/vp8cx.h>
|
||||
|
|
|
@ -25,6 +25,13 @@
|
|||
#endif
|
||||
|
||||
#include <gst/gst.h>
|
||||
|
||||
/* FIXME: Undef HAVE_CONFIG_H because vpx_codec.h uses it,
|
||||
* which causes compilation failures */
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#undef HAVE_CONFIG_H
|
||||
#endif
|
||||
|
||||
#include <vpx/vpx_codec.h>
|
||||
|
||||
#include "gstvp8utils.h"
|
||||
|
|
Loading…
Reference in a new issue