value_num should also be 64bit (1 hunk from the asf seeking patch by DrDivx/Steve...
authorSteve L'Homme <slhomme@divxcorp.com>
Wed, 23 Aug 2006 16:26:59 +0000 (16:26 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Aug 2006 16:26:59 +0000 (16:26 +0000)
Originally committed as revision 6053 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asf.c

index 3314a5e..cf0742e 100644 (file)
@@ -354,7 +354,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
                 desc_count = get_le16(pb);
                 for(i=0;i<desc_count;i++)
                 {
-                        int name_len,value_type,value_len,value_num = 0;
+                        int name_len,value_type,value_len;
+                        uint64_t value_num = 0;
                         char *name, *value;
 
                         name_len = get_le16(pb);