diff options
author | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-04-23 08:56:14 +0000 |
---|---|---|
committer | Zdenek Kabelac <kabi@informatics.muni.cz> | 2003-04-23 08:56:14 +0000 |
commit | 5d234974932149081262251fa772c1f45825637a (patch) | |
tree | 46fa50efb49ee0ad2e368b9807dd2c3caba1028a /libavformat/avienc.c | |
parent | e738cee9c4feb258d57bf4b4975e12f561f9eb4f (diff) | |
download | ffmpeg-5d234974932149081262251fa772c1f45825637a.tar.gz |
* more strict types
Originally committed as revision 1815 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index f7017a1bbd..2194af0f57 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -185,14 +185,14 @@ static unsigned int codec_get_asf_tag(const CodecTag *tags, int id) return 0; } -int codec_get_id(const CodecTag *tags, unsigned int tag) +enum CodecID codec_get_id(const CodecTag *tags, unsigned int tag) { while (tags->id != 0) { if (tags->tag == tag) return tags->id; tags++; } - return 0; + return CODEC_ID_NONE; } unsigned int codec_get_bmp_tag(int id) |