summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2006-08-23 16:24:39 +0000
committerMichael Niedermayer <michaelni@gmx.at>2006-08-23 16:24:39 +0000
commit7ad5455cd711d12700ad52b82a915105a7b30127 (patch)
tree7965832551765be43da8d02fba64aa640c742457
parentb3701f5cc05280b62fe48257d6c5b981a830ea3d (diff)
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
-rw-r--r--libavformat/asf.c3
1 files changed, 2 insertions, 1 deletions
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;