Mercurial > libavcodec.hg
changeset 10454:7a0648324174 libavcodec
Clarify responsibility for freeing a buffer when using vdpau.
author | cehoyos |
---|---|
date | Tue, 27 Oct 2009 08:30:50 +0000 |
parents | 0a97bc8da768 |
children | 0609da72112c |
files | vdpau.h |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
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; };