[vlc-commits] libvlc: fix mismatching prototype and doc

Steve Lhomme git at videolan.org
Fri May 10 09:07:16 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Fri May 10 08:42:39 2019 +0200| [7005af7ea720f48b114b87932809a9b0c1f122a5] | committer: Steve Lhomme

libvlc: fix mismatching prototype and doc

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

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

diff --git a/include/vlc/libvlc_media_player.h b/include/vlc/libvlc_media_player.h
index ca72a550d3..ddc5b8fe92 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -820,7 +820,7 @@ void libvlc_audio_set_volume_callback( libvlc_media_player_t *mp,
  * \param channels channels count [IN/OUT]
  * \return 0 on success, anything else to skip audio playback
  */
-typedef int (*libvlc_audio_setup_cb)(void **data, char *format, unsigned *rate,
+typedef int (*libvlc_audio_setup_cb)(void **opaque, char *format, unsigned *rate,
                                      unsigned *channels);
 
 /**



More information about the vlc-commits mailing list