aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-02-06 22:28:32 +0000
committerJanne Grunau <janne-libav@jannau.net>2014-02-08 13:38:31 +0100
commitb141c7b37eb52aca41ac83738f159b63b9c09d5c (patch)
tree414a8fc49b137105c00e9ff72ef3ef8f7cc79582
parent0cffd6fff59f192120dc93aa6c3cb8180f5506e3 (diff)
downloadffmpeg-b141c7b37eb52aca41ac83738f159b63b9c09d5c.tar.gz
h264: give numbers to nalus
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
-rw-r--r--libavcodec/h264.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index a828bf9e57..6aa30b9185 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -99,19 +99,19 @@
/* NAL unit types */
enum {
- NAL_SLICE = 1,
- NAL_DPA,
- NAL_DPB,
- NAL_DPC,
- NAL_IDR_SLICE,
- NAL_SEI,
- NAL_SPS,
- NAL_PPS,
- NAL_AUD,
- NAL_END_SEQUENCE,
- NAL_END_STREAM,
- NAL_FILLER_DATA,
- NAL_SPS_EXT,
+ NAL_SLICE = 1,
+ NAL_DPA = 2,
+ NAL_DPB = 3,
+ NAL_DPC = 4,
+ NAL_IDR_SLICE = 5,
+ NAL_SEI = 6,
+ NAL_SPS = 7,
+ NAL_PPS = 8,
+ NAL_AUD = 9,
+ NAL_END_SEQUENCE = 10,
+ NAL_END_STREAM = 11,
+ NAL_FILLER_DATA = 12,
+ NAL_SPS_EXT = 13,
NAL_AUXILIARY_SLICE = 19,
NAL_FF_IGNORE = 0xff0f001,
};