From fb65d2ca84d79fb1c5a5708555c23e1d289b5c92 Mon Sep 17 00:00:00 2001 From: Diego Pettenò Date: Thu, 2 Oct 2008 16:03:00 +0000 Subject: Use enum typers instead of int. Patch by Diego 'Flameeyes' Pettenò: flameeyes gmail MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 15517 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/aiff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavformat/aiff.c') 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 */ -- cgit v1.2.3