diff options
author | Diego Pettenò <flameeyes@gmail.com> | 2008-10-02 16:03:00 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2008-10-02 16:03:00 +0000 |
commit | fb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch) | |
tree | 933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/sol.c | |
parent | 529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff) | |
download | ffmpeg-fb65d2ca84d79fb1c5a5708555c23e1d289b5c92.tar.gz |
Use enum typers instead of int.
Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail
Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/sol.c')
-rw-r--r-- | libavformat/sol.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/sol.c b/libavformat/sol.c index 775b4e0adf..8b680be742 100644 --- a/libavformat/sol.c +++ b/libavformat/sol.c @@ -47,7 +47,7 @@ static int sol_probe(AVProbeData *p) #define SOL_16BIT 4 #define SOL_STEREO 16 -static int sol_codec_id(int magic, int type) +static enum CodecID sol_codec_id(int magic, int type) { if (magic == 0x0B8D) { @@ -88,7 +88,8 @@ static int sol_read_header(AVFormatContext *s, int size; unsigned int magic,tag; ByteIOContext *pb = s->pb; - unsigned int id, codec, channels, rate, type; + unsigned int id, channels, rate, type; + enum CodecID codec; AVStream *st; /* check ".snd" header */ |