summaryrefslogtreecommitdiff
path: root/libavformat/asf.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2008-04-22 20:08:39 +0000
committerRobert Swain <robert.swain@gmail.com>2008-04-22 20:08:39 +0000
commitb4bbcd635f303dc0537443e97ba3e0dde395e3ec (patch)
tree05812c5e7904badcc258aa217bffdef3b7aba110 /libavformat/asf.c
parent3ade5d56d0138e6069ea3e402c2c9ad050e347c0 (diff)
downloadffmpeg-b4bbcd635f303dc0537443e97ba3e0dde395e3ec.tar.gz
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/asf.c')
-rw-r--r--libavformat/asf.c2
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);