summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorIvan Schreter <schreter@gmx.net>2009-02-08 20:28:12 +0000
committerRobert Swain <robert.swain@gmail.com>2009-02-08 20:28:12 +0000
commitdd02ea118bf89f94090902e3ef2287abdaf3e3b1 (patch)
treebbdb3208431d74735d6973774fc04b1015b3f44b /libavcodec/h264.c
parenteb8a25c89556f7d0049feebf00aa224fc0793887 (diff)
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
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index be0abd45a3..c5c8878744 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -6865,11 +6865,11 @@ static int decode_sei(H264Context *h){
}while(get_bits(&s->gb, 8) == 255);
switch(type){
- case 1: // Picture timing SEI
+ case SEI_TYPE_PIC_TIMING: // Picture timing SEI
if(decode_picture_timing(h) < 0)
return -1;
break;
- case 5:
+ case SEI_TYPE_USER_DATA_UNREGISTERED:
if(decode_unregistered_user_data(h, size) < 0)
return -1;
break;