]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/cbs_h26[45]: Remove redundant enum constants
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Wed, 10 Mar 2021 10:26:52 +0000 (11:26 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Fri, 12 Mar 2021 22:25:23 +0000 (23:25 +0100)
Unused since 8843607f495c95c1e67a3ce3d6f15dca6e252439.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/cbs_h264.h
libavcodec/cbs_h265.h

index 9eb97eae24f91f8f1bad3b9c448213cc5b72228a..5a8641a3330ce375a6104338072abb526ce8a312 100644 (file)
 #include "h264.h"
 
 
-enum {
-    // This limit is arbitrary - it is sufficient for one message of each
-    // type plus some repeats, and will therefore easily cover all sane
-    // streams.  However, it is possible to make technically-valid streams
-    // for which it will fail (for example, by including a large number of
-    // user-data-unregistered messages).
-    H264_MAX_SEI_PAYLOADS = 64,
-};
-
-
 typedef struct H264RawNALUnitHeader {
     uint8_t nal_ref_idc;
     uint8_t nal_unit_type;
index 738cbeec2c2b4b95226ccf6c8ac455f45a882f92..f7753f1206ac4c65c8747464c02ca1c0a8c576eb 100644 (file)
 #include "cbs_sei.h"
 #include "hevc.h"
 
-enum {
-    // This limit is arbitrary - it is sufficient for one message of each
-    // type plus some repeats, and will therefore easily cover all sane
-    // streams.  However, it is possible to make technically-valid streams
-    // for which it will fail (for example, by including a large number of
-    // user-data-unregistered messages).
-    H265_MAX_SEI_PAYLOADS = 64,
-};
-
 typedef struct H265RawNALUnitHeader {
     uint8_t nal_unit_type;
     uint8_t nuh_layer_id;