summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2014-02-18 14:48:16 -0800
committerAaron Plattner <aplattner@nvidia.com>2014-02-20 12:22:52 -0800
commit186195b1a84f2517205522e7ab8e0f62ad61c329 (patch)
treeb56769e61aac85d33c6a00a7d1b7d81fbe9affbb
parent903d961a802ae65a9ecf014929a3ad3f50c6faf6 (diff)
Fix incorrect VdpPictureInfo typedef.
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@gmx.de> Tested-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> Reviewed-by: Stephen Warren <swarren@nvidia.com> Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
-rw-r--r--include/vdpau/vdpau.h4
1 files 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