[FFmpeg-cvslog] r20376 - trunk/libavcodec/vdpau.h

cehoyos subversion
Tue Oct 27 09:30:50 CET 2009


Author: cehoyos
Date: Tue Oct 27 09:30:50 2009
New Revision: 20376

Log:
Clarify responsibility for freeing a buffer when using vdpau.

Modified:
   trunk/libavcodec/vdpau.h

Modified: trunk/libavcodec/vdpau.h
==============================================================================
--- trunk/libavcodec/vdpau.h	Tue Oct 27 01:43:45 2009	(r20375)
+++ trunk/libavcodec/vdpau.h	Tue Oct 27 09:30:50 2009	(r20376)
@@ -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;
 };
 



More information about the ffmpeg-cvslog mailing list