Commit 186195b1 authored by Reimar Döffinger's avatar Reimar Döffinger Committed by Aaron Plattner
Browse files

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: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tested-by: default avatarReimar Döffinger <Reimar.Doeffinger@gmx.de>
Reviewed-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarAaron Plattner <aplattner@nvidia.com>
parent 903d961a
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment