[MPlayer-cvslog] r37457 - trunk/libmpcodecs/img_format.h
rtogni
subversion at mplayerhq.hu
Mon Aug 24 22:24:09 CEST 2015
Author: rtogni
Date: Mon Aug 24 22:24:09 2015
New Revision: 37457
Log:
Fix compilation on MinGW and on systems without vdpau headers
Reported by Josh
Modified:
trunk/libmpcodecs/img_format.h
Modified: trunk/libmpcodecs/img_format.h
==============================================================================
--- trunk/libmpcodecs/img_format.h Sun Aug 23 23:05:50 2015 (r37456)
+++ trunk/libmpcodecs/img_format.h Mon Aug 24 22:24:09 2015 (r37457)
@@ -20,7 +20,7 @@
#define MPLAYER_IMG_FORMAT_H
#include "config.h"
-#ifdef CONFIG_VDPAU
+#if CONFIG_VDPAU
#include <vdpau/vdpau.h>
#endif
@@ -304,12 +304,14 @@ typedef struct {
int timestamp; // pts, 90000 Hz counter based
} vo_mpegpes_t;
+#if CONFIG_VDPAU
struct vdpau_frame_data {
VdpVideoSurface surface;
const void *info;
unsigned bitstream_buffers_used;
const void *bitstream_buffers;
};
+#endif
const char *vo_format_name(int format);
More information about the MPlayer-cvslog
mailing list