[VDPAU] [PATCH] Fix incorrect VdpPictureInfo typedef.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Feb 18 14:48:16 PST 2014
VdpPictureInfo should not be a pointer, otherwise the
VdpDecoderRender function signature asks for a pointer to a pointer.
But it really does expect a pointer directly to e.g. VdpPictureInfoH264.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
include/vdpau/vdpau.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vdpau/vdpau.h b/include/vdpau/vdpau.h
index 58d5083..6150607 100644
--- a/include/vdpau/vdpau.h
+++ b/include/vdpau/vdpau.h
@@ -2638,7 +2638,7 @@ typedef struct {
} VdpBitstreamBuffer;
/**
- * \brief A generic "picture information" pointer type.
+ * \brief A generic "picture information" type.
*
* This type serves solely to document the expected usage of a
* generic (void *) function parameter. In actual usage, the
@@ -2647,7 +2647,7 @@ typedef struct {
* picking the type appropriate for the decoder object in
* question.
*/
-typedef void * VdpPictureInfo;
+typedef void VdpPictureInfo;
/**
* \brief Picture parameter information for an MPEG 1 or MPEG 2
--
1.9.0.rc3
More information about the VDPAU
mailing list