[vlc-commits] libvlc: remove misleading comment on the possible use of free()

Steve Lhomme git at videolan.org
Wed May 29 13:23:03 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Wed May 29 08:19:16 2019 +0200| [e2383ee58fc7ed7656674acd46a3f716c9cd9e33] | committer: Steve Lhomme

libvlc: remove misleading comment on the possible use of free()

The libvlc_free() doc already says when free() can be used (even though I think
we should not advertise this possibility).

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

 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 10e302529d..2e6a747adb 100644
--- a/include/vlc/libvlc_media_player.h
+++ b/include/vlc/libvlc_media_player.h
@@ -1491,7 +1491,7 @@ LIBVLC_API void libvlc_video_set_scale( libvlc_media_player_t *p_mi, float f_fac
  *
  * \param p_mi the media player
  * \return the video aspect ratio or NULL if unspecified
- * (the result must be released with free() or libvlc_free()).
+ * (the result must be released with libvlc_free()).
  */
 LIBVLC_API char *libvlc_video_get_aspect_ratio( libvlc_media_player_t *p_mi );
 



More information about the vlc-commits mailing list