diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-05-18 10:36:33 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 11:17:28 +0200 |
commit | 5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c (patch) | |
tree | 15872b880e486a2e536a25c450799b1b1624ea32 /libavcodec/h264.h | |
parent | 1cf2f3d334f52849aae2be868bad1e5fa5f59aa0 (diff) | |
download | ffmpeg-5c2fb561d94fc51d76ab21d6f7cc5b6cc3aa599c.tar.gz |
h264: add H264_ prefix to the NAL unit types
This will prevent conflicts e.g. in code that deals with both h264 and
hevc.
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r-- | libavcodec/h264.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h index 6a9b496bea..eb3805c067 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -28,20 +28,20 @@ /* NAL unit types */ enum { - 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, + H264_NAL_SLICE = 1, + H264_NAL_DPA = 2, + H264_NAL_DPB = 3, + H264_NAL_DPC = 4, + H264_NAL_IDR_SLICE = 5, + H264_NAL_SEI = 6, + H264_NAL_SPS = 7, + H264_NAL_PPS = 8, + H264_NAL_AUD = 9, + H264_NAL_END_SEQUENCE = 10, + H264_NAL_END_STREAM = 11, + H264_NAL_FILLER_DATA = 12, + H264_NAL_SPS_EXT = 13, + H264_NAL_AUXILIARY_SLICE = 19, }; #endif /* AVCODEC_H264_H */ |