diff h264data.h @ 4267:6f839bb47457 libavcodec

Change NAL unit type defines to an enum and move to a header file for usage in other code.
author takis
date Tue, 05 Dec 2006 21:52:15 +0000
parents a1786732cd62
children 113f3b395bac
line wrap: on
line diff
--- a/h264data.h	Tue Dec 05 12:35:47 2006 +0000
+++ b/h264data.h	Tue Dec 05 21:52:15 2006 +0000
@@ -53,6 +53,24 @@
 
 #define EXTENDED_SAR          255
 
+/* 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_AUXILIARY_SLICE=19
+};
+
 static const AVRational pixel_aspect[14]={
  {0, 1},
  {1, 1},