From fa379405bbf879662853e83cb978d749ff86ec05 Mon Sep 17 00:00:00 2001
From: Patrice Bensoussan <patrice.bensoussan@free.fr>
Date: Wed, 26 Oct 2005 12:15:09 +0000
Subject: [PATCH] Fix asf header decoding issue, patch by < patrice --
 bensoussan AH gmail -- com > http://avifile.sourceforge.net/asf-1.0.htm has
 more info about asf headers Original thread: Date: Oct 22, 2005 11:44 PM
 Subject: [Ffmpeg-devel] [PATCH] Fix asf header decoding issue

Originally committed as revision 4663 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavformat/asf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/asf.c b/libavformat/asf.c
index 63a255ea901..fdbb4e3d0c5 100644
--- a/libavformat/asf.c
+++ b/libavformat/asf.c
@@ -172,8 +172,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->hdr.packets_count	= get_le64(pb);
-	    asf->hdr.play_time		= get_le64(pb);
 	    asf->hdr.send_time		= get_le64(pb);
+	    asf->hdr.play_time		= get_le64(pb);
 	    asf->hdr.preroll		= get_le32(pb);
 	    asf->hdr.ignore		= get_le32(pb);
 	    asf->hdr.flags		= get_le32(pb);
-- 
GitLab