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/asf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libavformat/asf.c') diff --git a/libavformat/asf.c b/libavformat/asf.c index b837e76891..e8b9144609 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -197,7 +197,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) asf->hdr.max_bitrate = get_le32(pb); asf->packet_size = asf->hdr.max_pktsize; } else if (!memcmp(&g, &stream_header, sizeof(GUID))) { - int type, type_specific_size, sizeX; + enum CodecType type; + int type_specific_size, sizeX; uint64_t total_size; unsigned int tag1; int64_t pos1, pos2, start_time; -- cgit v1.2.3