diff asf.c @ 3967:4fd67f05bad9 libavformat

Use enum typers instead of int. Patch by Diego 'Flameeyes' Petten: flameeyes gmail
author benoit
date Thu, 02 Oct 2008 16:03:00 +0000
parents 1d3d17de20ba
children 9be14682f7b3
line wrap: on
line diff
--- a/asf.c	Thu Oct 02 15:52:04 2008 +0000
+++ b/asf.c	Thu Oct 02 16:03:00 2008 +0000
@@ -197,7 +197,8 @@
             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;