Revision 550e66cb

View differences:

libavcodec/h264.c
165 165
    MpegEncContext s;
166 166
    int nal_ref_idc;
167 167
    int nal_unit_type;
168
#define NAL_SLICE                1
169
#define NAL_DPA                  2
170
#define NAL_DPB                  3
171
#define NAL_DPC                  4
172
#define NAL_IDR_SLICE            5
173
#define NAL_SEI                  6
174
#define NAL_SPS                  7
175
#define NAL_PPS                  8
176
#define NAL_AUD                  9
177
#define NAL_END_SEQUENCE        10
178
#define NAL_END_STREAM          11
179
#define NAL_FILLER_DATA         12
180
#define NAL_SPS_EXT             13
181
#define NAL_AUXILIARY_SLICE     19
182 168
    uint8_t *rbsp_buffer;
183 169
    unsigned int rbsp_buffer_size;
184 170

  
libavcodec/h264data.h
53 53

  
54 54
#define EXTENDED_SAR          255
55 55

  
56
/* NAL unit types */
57
enum {
58
NAL_SLICE=1,
59
NAL_DPA,
60
NAL_DPB,
61
NAL_DPC,
62
NAL_IDR_SLICE,
63
NAL_SEI,
64
NAL_SPS,
65
NAL_PPS,
66
NAL_AUD,
67
NAL_END_SEQUENCE,
68
NAL_END_STREAM,
69
NAL_FILLER_DATA,
70
NAL_SPS_EXT,
71
NAL_AUXILIARY_SLICE=19
72
};
73

  
56 74
static const AVRational pixel_aspect[14]={
57 75
 {0, 1},
58 76
 {1, 1},

Also available in: Unified diff