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/aiff.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/aiff.c')
-rw-r--r-- | libavformat/aiff.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/aiff.c b/libavformat/aiff.c index 911814bf92..3a4bf9f9dd 100644 --- a/libavformat/aiff.c +++ b/libavformat/aiff.c @@ -46,7 +46,7 @@ static const AVCodecTag codec_aiff_tags[] = { #define AIFF 0 #define AIFF_C_VERSION1 0xA2805140 -static int aiff_codec_get_id(int bps) +static enum CodecID aiff_codec_get_id(int bps) { if (bps <= 8) return CODEC_ID_PCM_S8; @@ -58,7 +58,7 @@ static int aiff_codec_get_id(int bps) return CODEC_ID_PCM_S32BE; /* bigger than 32 isn't allowed */ - return 0; + return CODEC_ID_NONE; } /* returns the size of the found tag */ |