total_size should be 64bit (1 hunk of the asf seeking patch from DrDivx / Steve Lhomme)
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Aug 2006 16:24:39 +0000 (16:24 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 23 Aug 2006 16:24:39 +0000 (16:24 +0000)
Originally committed as revision 6052 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/asf.c

index 6da4a28..3314a5e 100644 (file)
@@ -187,7 +187,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
             asf->packet_size = asf->hdr.max_pktsize;
             asf->nb_packets = asf->hdr.packets_count;
         } else if (!memcmp(&g, &stream_header, sizeof(GUID))) {
-            int type, total_size, type_specific_size, sizeX;
+            int type, type_specific_size, sizeX;
+            uint64_t total_size;
             unsigned int tag1;
             int64_t pos1, pos2;
             int test_for_ext_stream_audio;