summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vdpau.h')
-rw-r--r--libavcodec/vdpau.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/vdpau.h b/libavcodec/vdpau.h
index 53dbd7c02a..32d0c67f9f 100644
--- a/libavcodec/vdpau.h
+++ b/libavcodec/vdpau.h
@@ -75,9 +75,11 @@ struct vdpau_render_state {
VdpPictureInfoVC1 vc1;
} info;
- /** Describe size/location of the compressed video data. */
+ /** Describe size/location of the compressed video data.
+ Set to 0 when freeing bitstream_buffers. */
int bitstream_buffers_allocated;
int bitstream_buffers_used;
+ /** The user is responsible for freeing this buffer using av_freep(). */
VdpBitstreamBuffer *bitstream_buffers;
};