Skip to content

Commit c55fdd8

Browse files
committed
hwaccel_vdpau.h: add config.h include guard
allows build outside of UG/when config.h not generated Also helps when building tools/convert even when config.h is generated, VDPAU enabled but FFmpeg headers in non-standard path (that is obtained by pkgconf for UG but not for the tool).
1 parent 8bf32c3 commit c55fdd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/hwaccel_vdpau.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@
4545
#ifndef HWACCEL_VDPAU_H
4646
#define HWACCEL_VDPAU_H
4747

48+
#ifdef HAVE_CONFIG_H
4849
#include "config.h" // for HWACC_VDPAU
50+
#endif
4951

5052
#ifdef HWACC_VDPAU
5153

0 commit comments

Comments
 (0)