[vlc-commits] decoder: fix comment

Rémi Denis-Courmont git at videolan.org
Sat Nov 1 17:31:05 CET 2014


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Nov  1 18:20:35 2014 +0200| [af8beef6a94e0b60417160879870e0d14f997fe6] | committer: Rémi Denis-Courmont

decoder: fix comment

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af8beef6a94e0b60417160879870e0d14f997fe6
---

 include/vlc_codec.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index cd9bbe8..7c43992 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -211,8 +211,8 @@ static inline int decoder_UpdateAudioFormat( decoder_t *dec )
 
 /**
  * This function will return a new audio buffer usable by a decoder as an
- * output buffer. You have to release it using decoder_DeleteAudioBuffer
- * or by returning it to the caller as a pf_decode_audio return value.
+ * output buffer. It must be released with block_Release() or returned it to
+ * the caller as a pf_decode_audio return value.
  */
 VLC_API block_t * decoder_NewAudioBuffer( decoder_t *, int i_size ) VLC_USED;
 



More information about the vlc-commits mailing list