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

Steve Lhomme robux4 at ycbcr.xyz
Wed May 29 08:19:32 CEST 2019


The libvlc_free() doc already says when free() can be used (even though I think
we should not advertise this possibility).
---
 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 );
 
-- 
2.17.1



More information about the vlc-devel mailing list