[vlc-commits] encoder: add vlc_ prefix to the new API

Steve Lhomme git at videolan.org
Wed Jan 8 13:09:54 CET 2020


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Tue Aug 20 08:28:29 2019 +0200| [6286e6bf94230c11253bbc02cd2c20a02e430ae1] | committer: Steve Lhomme

encoder: add vlc_ prefix to the new API

encoder_ APIs didn't exist so far.

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

 include/vlc_codec.h         | 2 +-
 src/input/decoder_helpers.c | 2 +-
 src/libvlccore.sym          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/vlc_codec.h b/include/vlc_codec.h
index 6a91d4379d..3dd65bdc05 100644
--- a/include/vlc_codec.h
+++ b/include/vlc_codec.h
@@ -230,7 +230,7 @@ struct encoder_owner_callbacks
  *
  * @return the held decoder device, NULL if none should be used
  */
-VLC_API vlc_decoder_device *encoder_GetDecoderDevice( encoder_t * );
+VLC_API vlc_decoder_device *vlc_encoder_GetDecoderDevice( encoder_t * );
 
 
 /**
diff --git a/src/input/decoder_helpers.c b/src/input/decoder_helpers.c
index 2af7960b76..e59cdcb3a1 100644
--- a/src/input/decoder_helpers.c
+++ b/src/input/decoder_helpers.c
@@ -297,7 +297,7 @@ vlc_decoder_device* vlc_video_context_HoldDevice(vlc_video_context *vctx)
 
 
 /** encoder **/
-vlc_decoder_device *encoder_GetDecoderDevice( encoder_t *enc )
+vlc_decoder_device *vlc_encoder_GetDecoderDevice( encoder_t *enc )
 {
     vlc_assert( enc->fmt_in.i_cat == VIDEO_ES && enc->cbs != NULL );
     if ( unlikely(enc->fmt_in.i_cat != VIDEO_ES || enc->cbs == NULL ) )
diff --git a/src/libvlccore.sym b/src/libvlccore.sym
index 98b1a9f797..9680cd35f2 100644
--- a/src/libvlccore.sym
+++ b/src/libvlccore.sym
@@ -83,7 +83,7 @@ decoder_AbortPictures
 decoder_NewAudioBuffer
 decoder_UpdateVideoFormat
 decoder_UpdateVideoOutput
-encoder_GetDecoderDevice
+vlc_encoder_GetDecoderDevice
 vlc_decoder_device_Create
 vlc_decoder_device_Hold
 vlc_decoder_device_Release



More information about the vlc-commits mailing list