value_num should also be 64bit (1 hunk from the asf seeking patch by DrDivx/Steve Lhomme)

Originally committed as revision 6053 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Steve L'Homme 19 years ago committed by Michael Niedermayer
parent 7ad5455cd7
commit 052aa2ad3c
  1. 3
      libavformat/asf.c

@ -354,7 +354,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
desc_count = get_le16(pb); desc_count = get_le16(pb);
for(i=0;i<desc_count;i++) 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; char *name, *value;
name_len = get_le16(pb); name_len = get_le16(pb);

Loading…
Cancel
Save