Browse Source

Clarify responsibility for freeing a buffer when using vdpau.

Originally committed as revision 20376 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Carl Eugen Hoyos 16 years ago
parent
commit
6d7d410f8b
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      libavcodec/vdpau.h

+ 3
- 1
libavcodec/vdpau.h View File

@@ -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;
};



Loading…
Cancel
Save