comparison raw.c @ 5360:a00cc1aac80d libavformat

Use enum instead of integer types where appropriate.
author cehoyos
date Sun, 08 Nov 2009 23:48:15 +0000
parents 4aefe095faed
children 8dd3cb8e01c7
comparison
equal deleted inserted replaced
5359:16a2de6da57e 5360:a00cc1aac80d
64 #if CONFIG_DEMUXERS 64 #if CONFIG_DEMUXERS
65 /* raw input */ 65 /* raw input */
66 static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap) 66 static int raw_read_header(AVFormatContext *s, AVFormatParameters *ap)
67 { 67 {
68 AVStream *st; 68 AVStream *st;
69 int id; 69 enum CodecID id;
70 70
71 st = av_new_stream(s, 0); 71 st = av_new_stream(s, 0);
72 if (!st) 72 if (!st)
73 return AVERROR(ENOMEM); 73 return AVERROR(ENOMEM);
74 74