diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2008-04-23 00:08:39 +0400 |
---|---|---|
committer | Robert Swain <robert.swain@gmail.com> | 2008-04-23 00:08:39 +0400 |
commit | b4bbcd635f303dc0537443e97ba3e0dde395e3ec (patch) | |
tree | 05812c5e7904badcc258aa217bffdef3b7aba110 /libavformat | |
parent | 3ade5d56d0138e6069ea3e402c2c9ad050e347c0 (diff) |
Read asf file header fields in the right order
Patch by Rafaël Carré ( funman videolan org )
Originally committed as revision 12926 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/asf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/asf.c b/libavformat/asf.c index 3ba7ccc9e5..66b5638601 100644 --- a/libavformat/asf.c +++ b/libavformat/asf.c @@ -186,8 +186,8 @@ static int asf_read_header(AVFormatContext *s, AVFormatParameters *ap) asf->hdr.file_size = get_le64(pb); asf->hdr.create_time = 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.send_time = get_le64(pb); asf->hdr.preroll = get_le32(pb); asf->hdr.ignore = get_le32(pb); asf->hdr.flags = get_le32(pb); |