From dd02ea118bf89f94090902e3ef2287abdaf3e3b1 Mon Sep 17 00:00:00 2001 From: Ivan Schreter Date: Sun, 8 Feb 2009 20:28:12 +0000 Subject: Replace hard-coded SEI type constants with symbolic names Patch by Ivan Schreter ( schreter gmx net ) Originally committed as revision 17064 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/h264.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'libavcodec/h264.h') diff --git a/libavcodec/h264.h b/libavcodec/h264.h index e4e070aab6..ed9e854bd5 100644 --- a/libavcodec/h264.h +++ b/libavcodec/h264.h @@ -111,6 +111,15 @@ enum { NAL_AUXILIARY_SLICE=19 }; +/** + * SEI message types + */ +typedef enum { + SEI_TYPE_PIC_TIMING = 1, ///< picture timing + SEI_TYPE_USER_DATA_UNREGISTERED = 5, ///< unregistered user data + SEI_TYPE_RECOVERY_POINT = 6 ///< recovery point (frame # to decoder sync) +} SEI_Type; + /** * pic_struct in picture timing SEI message */ -- cgit v1.2.3