aboutsummaryrefslogtreecommitdiff
path: root/libavformat/sol.c
diff options
context:
space:
mode:
authorDiego Pettenò2008-10-02 16:03:00 +0000
committerBenoit Fouet2008-10-02 16:03:00 +0000
commitfb65d2ca84d79fb1c5a5708555c23e1d289b5c92 (patch)
tree933cef560872486d2c23628aef5bfa37d0eaf315 /libavformat/sol.c
parent529dae12f786ed8840a8ccec75d66c7d27cdf9d9 (diff)
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.c5
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 */