From 7ad5455cd711d12700ad52b82a915105a7b30127 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 23 Aug 2006 16:24:39 +0000 Subject: total_size should be 64bit (1 hunk of the asf seeking patch from DrDivx / Steve Lhomme) Originally committed as revision 6052 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/asf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/asf.c b/libavformat/asf.c index 6da4a282b4..3314a5e197 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -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; -- cgit v1.2.3