[vlc-commits] vlc_codec: fix confusing parameter in decoder_NewAudioBuffer

Francois Cartegnie git at videolan.org
Wed May 31 14:10:19 CEST 2017


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed May 31 14:09:21 2017 +0200| [acc9e57ef2090576416e0255be6bd259965304c5] | committer: Francois Cartegnie

vlc_codec: fix confusing parameter in decoder_NewAudioBuffer

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

 include/vlc_codec.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 5c2baae517..fb7383907b 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -376,7 +376,7 @@ static inline int decoder_UpdateAudioFormat( decoder_t *dec )
  * output buffer. It must be released with block_Release() or returned it to
  * the caller as a decoder_QueueAudio parameter.
  */
-VLC_API block_t * decoder_NewAudioBuffer( decoder_t *, int i_size ) VLC_USED;
+VLC_API block_t * decoder_NewAudioBuffer( decoder_t *, int i_nb_samples ) VLC_USED;
 
 /**
  * This function will return a new subpicture usable by a decoder as an output



More information about the vlc-commits mailing list