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
This commit is contained in:
Steve L'Homme 2006-08-23 16:26:59 +00:00 committed by Michael Niedermayer
parent 7ad5455cd7
commit 052aa2ad3c

View 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);