Browse Source

avcodec/cbs_h26[45]: Remove redundant enum constants

Unused since 8843607f49.

Reviewed-by: Mark Thompson <sw@jkqxz.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
tags/n4.4
Andreas Rheinhardt 5 years ago
parent
commit
ec54c32d4a
2 changed files with 0 additions and 19 deletions
  1. +0
    -10
      libavcodec/cbs_h264.h
  2. +0
    -9
      libavcodec/cbs_h265.h

+ 0
- 10
libavcodec/cbs_h264.h View File

@@ -28,16 +28,6 @@
#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;


+ 0
- 9
libavcodec/cbs_h265.h View File

@@ -26,15 +26,6 @@
#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;


Loading…
Cancel
Save