提交 6d7d410f 编写于 作者: C Carl Eugen Hoyos

Clarify responsibility for freeing a buffer when using vdpau.

Originally committed as revision 20376 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 b70bc022
...@@ -75,9 +75,11 @@ struct vdpau_render_state { ...@@ -75,9 +75,11 @@ struct vdpau_render_state {
VdpPictureInfoVC1 vc1; VdpPictureInfoVC1 vc1;
} info; } 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_allocated;
int bitstream_buffers_used; int bitstream_buffers_used;
/** The user is responsible for freeing this buffer using av_freep(). */
VdpBitstreamBuffer *bitstream_buffers; VdpBitstreamBuffer *bitstream_buffers;
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册