diff mbox series

[FFmpeg-devel,1/3] all: Fix /// comments that should be ///<

Message ID 20240228171014.816489-2-ffmpeg-devel@pileofstuff.org
State Accepted
Commit 6096c244bbd4011eba547456338b09ad83d844f6
Headers show
Series Fix /// comments that should be ///< | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andrew Sayers Feb. 28, 2024, 5:09 p.m. UTC
Actual command: sed -i -e "s/\([;,] *\)<* *\/\/\/ *<* */\1\/\/\/< /" $( git grep -l "[;,] */// " )

Signed-off-by: Andrew Sayers <ffmpeg-devel@pileofstuff.org>
---
 libavcodec/avcodec.h     |  8 ++++----
 libavcodec/bsf/noise.c   | 24 ++++++++++++------------
 libavcodec/ivi.h         | 10 +++++-----
 libavfilter/vf_deshake.c |  2 +-
 libavformat/rmdec.c      |  4 ++--
 5 files changed, 24 insertions(+), 24 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 43859251cc..58c581a5c0 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1832,10 +1832,10 @@  typedef struct AVCodecContext {
      * - decoding: maintained and used by libavcodec, not intended to be used by user apps
      * - encoding: unused
      */
-    int64_t pts_correction_num_faulty_pts; /// Number of incorrect PTS values so far
-    int64_t pts_correction_num_faulty_dts; /// Number of incorrect DTS values so far
-    int64_t pts_correction_last_pts;       /// PTS of the last frame
-    int64_t pts_correction_last_dts;       /// DTS of the last frame
+    int64_t pts_correction_num_faulty_pts; ///< Number of incorrect PTS values so far
+    int64_t pts_correction_num_faulty_dts; ///< Number of incorrect DTS values so far
+    int64_t pts_correction_last_pts;       ///< PTS of the last frame
+    int64_t pts_correction_last_dts;       ///< DTS of the last frame
 
     /**
      * Character encoding of the input subtitles file.
diff --git a/libavcodec/bsf/noise.c b/libavcodec/bsf/noise.c
index 7bdaa3c1db..3a0f388dd6 100644
--- a/libavcodec/bsf/noise.c
+++ b/libavcodec/bsf/noise.c
@@ -28,18 +28,18 @@ 
 #include "libavutil/eval.h"
 
 static const char *const var_names[] = {
-    "n",                           /// packet index, starting from zero
-    "tb",                          /// timebase
-    "pts",                         /// packet presentation timestamp
-    "dts",                         /// packet decoding timestamp
-    "nopts",                       /// AV_NOPTS_VALUE
-    "startpts",                    /// first seen non-AV_NOPTS_VALUE packet timestamp
-    "startdts",                    /// first seen non-AV_NOPTS_VALUE packet timestamp
-    "duration", "d",               /// packet duration
-    "pos",                         /// original position of packet in its source
-    "size",                        /// packet size
-    "key" ,                        /// packet keyframe flag
-    "state",                       /// random-ish state
+    "n",                           ///< packet index, starting from zero
+    "tb",                          ///< timebase
+    "pts",                         ///< packet presentation timestamp
+    "dts",                         ///< packet decoding timestamp
+    "nopts",                       ///< AV_NOPTS_VALUE
+    "startpts",                    ///< first seen non-AV_NOPTS_VALUE packet timestamp
+    "startdts",                    ///< first seen non-AV_NOPTS_VALUE packet timestamp
+    "duration", "d",               ///< packet duration
+    "pos",                         ///< original position of packet in its source
+    "size",                        ///< packet size
+    "key" ,                        ///< packet keyframe flag
+    "state",                       ///< random-ish state
     NULL
 };
 
diff --git a/libavcodec/ivi.h b/libavcodec/ivi.h
index 06cd4d95ff..ec54f65f30 100644
--- a/libavcodec/ivi.h
+++ b/libavcodec/ivi.h
@@ -61,17 +61,17 @@  typedef struct IVIHuffDesc {
  *  macroblock/block huffman table descriptor
  */
 typedef struct IVIHuffTab {
-    int32_t     tab_sel;    /// index of one of the predefined tables
+    int32_t     tab_sel;    ///< index of one of the predefined tables
                             /// or "7" for custom one
-    VLC         *tab;       /// pointer to the table associated with tab_sel
+    VLC         *tab;       ///< pointer to the table associated with tab_sel
 
     /// the following are used only when tab_sel == 7
-    IVIHuffDesc cust_desc;  /// custom Huffman codebook descriptor
-    VLC         cust_tab;   /// vlc table for custom codebook
+    IVIHuffDesc cust_desc;  ///< custom Huffman codebook descriptor
+    VLC         cust_tab;   ///< vlc table for custom codebook
 } IVIHuffTab;
 
 enum {
-    IVI_MB_HUFF   = 0,      /// Huffman table is used for coding macroblocks
+    IVI_MB_HUFF   = 0,      ///< Huffman table is used for coding macroblocks
     IVI_BLK_HUFF  = 1       /// Huffman table is used for coding blocks
 };
 
diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c
index 00e7472f67..107b78a7d1 100644
--- a/libavfilter/vf_deshake.c
+++ b/libavfilter/vf_deshake.c
@@ -88,7 +88,7 @@  typedef struct Transform {
 
 typedef struct DeshakeContext {
     const AVClass *class;
-    int counts[2*MAX_R+1][2*MAX_R+1]; /// < Scratch buffer for motion search
+    int counts[2*MAX_R+1][2*MAX_R+1]; ///< Scratch buffer for motion search
     double *angles;            ///< Scratch buffer for block angles
     unsigned angles_size;
     AVFrame *ref;              ///< Previous frame
diff --git a/libavformat/rmdec.c b/libavformat/rmdec.c
index 0f1534b582..d0062c47bb 100644
--- a/libavformat/rmdec.c
+++ b/libavformat/rmdec.c
@@ -51,8 +51,8 @@  struct RMStream {
     int64_t audiotimestamp; ///< Audio packet timestamp
     int sub_packet_cnt; // Subpacket counter, used while reading
     int sub_packet_size, sub_packet_h, coded_framesize; ///< Descrambling parameters from container
-    int audio_framesize; /// Audio frame size from container
-    int sub_packet_lengths[16]; /// Length of each subpacket
+    int audio_framesize; ///< Audio frame size from container
+    int sub_packet_lengths[16]; ///< Length of each subpacket
     int32_t deint_id;  ///< deinterleaver used in audio stream
 };