[FFmpeg-cvslog] avcodec: remove unnecessary AVPacketSideDataType enum offset

James Almer git at videolan.org
Mon Nov 20 03:08:05 EET 2017


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Sun Nov 19 21:03:09 2017 -0300| [54486e3f09dc6ddfbbb211e59c74733d7d84edea] | committer: James Almer

avcodec: remove unnecessary AVPacketSideDataType enum offset

Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=54486e3f09dc6ddfbbb211e59c74733d7d84edea
---

 libavcodec/avcodec.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 442b558d4b..4cd72b5961 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -1238,7 +1238,7 @@ enum AVPacketSideDataType {
      * u8    reason for end   skip (0=padding silence, 1=convergence)
      * @endcode
      */
-    AV_PKT_DATA_SKIP_SAMPLES=70,
+    AV_PKT_DATA_SKIP_SAMPLES,
 
     /**
      * An AV_PKT_DATA_JP_DUALMONO side data packet indicates that
@@ -1327,7 +1327,7 @@ enum AVPacketSideDataType {
     AV_PKT_DATA_A53_CC,
 
     /**
-     * The number of side data elements (in fact a bit more than it).
+     * The number of side data types.
      * This is not part of the public API/ABI in the sense that it may
      * change when new side data types are added.
      * This must stay the last enum value.



More information about the ffmpeg-cvslog mailing list