diff utils.c @ 6032:44d635df3f26 libavformat

Prefer enum CodecID over int in ff_codec_get_tag().
author stefano
date Sat, 22 May 2010 15:56:49 +0000
parents ee42a04b24f2
children bf6169d77dbd
line wrap: on
line diff
--- a/utils.c	Sat May 22 01:41:38 2010 +0000
+++ b/utils.c	Sat May 22 15:56:49 2010 +0000
@@ -2024,7 +2024,7 @@
     return ret;
 }
 
-unsigned int ff_codec_get_tag(const AVCodecTag *tags, int id)
+unsigned int ff_codec_get_tag(const AVCodecTag *tags, enum CodecID id)
 {
     while (tags->id != CODEC_ID_NONE) {
         if (tags->id == id)