Commit d910a74c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

libVLC: rename libvlc_track_description_release

This is now libvlc_track_description_list_release, as agreed at the VDD
technical discussion
parent eda1f5fe
...@@ -816,7 +816,12 @@ LIBVLC_API void libvlc_media_player_navigate( libvlc_media_player_t* p_mi, ...@@ -816,7 +816,12 @@ LIBVLC_API void libvlc_media_player_navigate( libvlc_media_player_t* p_mi,
* *
* \param p_track_description the structure to release * \param p_track_description the structure to release
*/ */
LIBVLC_API void libvlc_track_description_release( libvlc_track_description_t *p_track_description ); LIBVLC_API void libvlc_track_description_list_release( libvlc_track_description_t *p_track_description );
/**
* \deprecated Use libvlc_track_description_list_release instead
*/
LIBVLC_DEPRECATED void libvlc_track_description_release( libvlc_track_description_t *p_track_description );
/** \defgroup libvlc_video LibVLC video controls /** \defgroup libvlc_video LibVLC video controls
* @{ * @{
......
...@@ -174,6 +174,7 @@ libvlc_set_user_agent ...@@ -174,6 +174,7 @@ libvlc_set_user_agent
libvlc_toggle_fullscreen libvlc_toggle_fullscreen
libvlc_toggle_teletext libvlc_toggle_teletext
libvlc_track_description_release libvlc_track_description_release
libvlc_track_description_list_release
libvlc_video_get_adjust_float libvlc_video_get_adjust_float
libvlc_video_get_adjust_int libvlc_video_get_adjust_int
libvlc_video_get_aspect_ratio libvlc_video_get_aspect_ratio
......
...@@ -1344,7 +1344,7 @@ libvlc_track_description_t * ...@@ -1344,7 +1344,7 @@ libvlc_track_description_t *
malloc( sizeof( libvlc_track_description_t ) ); malloc( sizeof( libvlc_track_description_t ) );
if ( !p_actual ) if ( !p_actual )
{ {
libvlc_track_description_release( p_track_description ); libvlc_track_description_list_release( p_track_description );
libvlc_printerr( "Not enough memory" ); libvlc_printerr( "Not enough memory" );
goto end; goto end;
} }
...@@ -1365,7 +1365,13 @@ end: ...@@ -1365,7 +1365,13 @@ end:
return p_track_description; return p_track_description;
} }
// Deprecated alias for libvlc_track_description_list_release
void libvlc_track_description_release( libvlc_track_description_t *p_td ) void libvlc_track_description_release( libvlc_track_description_t *p_td )
{
libvlc_track_description_list_release( p_td );
}
void libvlc_track_description_list_release( libvlc_track_description_t *p_td )
{ {
libvlc_track_description_t *p_actual, *p_before; libvlc_track_description_t *p_actual, *p_before;
p_actual = p_td; p_actual = p_td;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment