comparison au.c @ 3967:4fd67f05bad9 libavformat

Use enum typers instead of int. Patch by Diego 'Flameeyes' Petten: flameeyes gmail
author benoit
date Thu, 02 Oct 2008 16:03:00 +0000
parents e6aeb2733e34
children 549a09cf23fe
comparison
equal deleted inserted replaced
3966:4a3372240319 3967:4fd67f05bad9
120 AVFormatParameters *ap) 120 AVFormatParameters *ap)
121 { 121 {
122 int size; 122 int size;
123 unsigned int tag; 123 unsigned int tag;
124 ByteIOContext *pb = s->pb; 124 ByteIOContext *pb = s->pb;
125 unsigned int id, codec, channels, rate; 125 unsigned int id, channels, rate;
126 enum CodecID codec;
126 AVStream *st; 127 AVStream *st;
127 128
128 /* check ".snd" header */ 129 /* check ".snd" header */
129 tag = get_le32(pb); 130 tag = get_le32(pb);
130 if (tag != MKTAG('.', 's', 'n', 'd')) 131 if (tag != MKTAG('.', 's', 'n', 'd'))