Commit c2f3cba2 authored by superdump's avatar superdump

Read asf file header fields in the right order

Patch by Rafaël Carré ( funman@videolan.org )


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12926 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 1e32abdc
...@@ -186,8 +186,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -186,8 +186,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap)
asf->hdr.file_size = get_le64(pb); asf->hdr.file_size = get_le64(pb);
asf->hdr.create_time = get_le64(pb); asf->hdr.create_time = get_le64(pb);
asf->nb_packets = get_le64(pb); asf->nb_packets = get_le64(pb);
asf->hdr.send_time = get_le64(pb);
asf->hdr.play_time = get_le64(pb); asf->hdr.play_time = get_le64(pb);
asf->hdr.send_time = get_le64(pb);
asf->hdr.preroll = get_le32(pb); asf->hdr.preroll = get_le32(pb);
asf->hdr.ignore = get_le32(pb); asf->hdr.ignore = get_le32(pb);
asf->hdr.flags = get_le32(pb); asf->hdr.flags = get_le32(pb);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment