diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-22 15:56:49 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-05-22 15:56:49 +0000 |
commit | 83c27079089270a65e53394b7e6b4ae8b94a6e6d (patch) | |
tree | c67614def2216633822a7ed2c072e94b855542a0 /libavformat/utils.c | |
parent | 85e86b681052960e986d0cb91581a23867152b03 (diff) | |
download | ffmpeg-83c27079089270a65e53394b7e6b4ae8b94a6e6d.tar.gz |
Prefer enum CodecID over int in ff_codec_get_tag().
Originally committed as revision 23249 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 435720f4a4..e5a6ce1846 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -2024,7 +2024,7 @@ static int try_decode_frame(AVStream *st, AVPacket *avpkt) 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) |