OSDN Git Service

h264: give numbers to nalus
authorVittorio Giovara <vittorio.giovara@gmail.com>
Thu, 6 Feb 2014 22:28:32 +0000 (22:28 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Sat, 8 Feb 2014 12:38:31 +0000 (13:38 +0100)
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/h264.h

index a828bf9..6aa30b9 100644 (file)
 
 /* 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,
 };