[vlc-commits] avcodec: encoder: fix comment location

Alexandre Janniaux git at videolan.org
Thu Apr 15 14:08:04 UTC 2021


vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | Wed Apr 14 10:05:29 2021 +0200| [9c05197257f479469ac1ef403f7245685cfb00a5] | committer: Alexandre Janniaux

avcodec: encoder: fix comment location

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

 modules/codec/avcodec/encoder.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c
index 15b19a756b..21f21b0673 100644
--- a/modules/codec/avcodec/encoder.c
+++ b/modules/codec/avcodec/encoder.c
@@ -227,10 +227,6 @@ static const uint16_t mpeg4_default_non_intra_matrix[64] = {
 
 static const int DEFAULT_ALIGN = 0;
 
-
-/*****************************************************************************
- * InitVideoEnc: probe the encoder
- *****************************************************************************/
 static void probe_video_frame_rate( encoder_t *p_enc, AVCodecContext *p_context, AVCodec *p_codec )
 {
     /* if we don't have i_frame_rate_base, we are probing and just checking if we can find codec
@@ -292,6 +288,9 @@ static void add_av_option_float( encoder_t *p_enc, AVDictionary** pp_dict, const
         msg_Warn( p_enc, "Failed to set encoder option %s", psz_name );
 }
 
+/*****************************************************************************
+ * InitVideoEnc: probe the encoder
+ *****************************************************************************/
 int InitVideoEnc( vlc_object_t *p_this )
 {
     encoder_t *p_enc = (encoder_t *)p_this;



More information about the vlc-commits mailing list