diff vdpau.h @ 10454:7a0648324174 libavcodec

Clarify responsibility for freeing a buffer when using vdpau.
author cehoyos
date Tue, 27 Oct 2009 08:30:50 +0000
parents 92bd4156f0f1
children cdf5b1ed3500
line wrap: on
line diff
--- a/vdpau.h	Mon Oct 26 19:34:46 2009 +0000
+++ b/vdpau.h	Tue Oct 27 08:30:50 2009 +0000
@@ -75,9 +75,11 @@
         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;
 };