Fix asf header decoding issue, patch by < patrice -- bensoussan AH gmail -- com >
authorPatrice Bensoussan <patrice.bensoussan@free.fr>
Wed, 26 Oct 2005 12:15:09 +0000 (12:15 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Wed, 26 Oct 2005 12:15:09 +0000 (12:15 +0000)
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

index 63a255ea901bc6e353c14f289f0483c061afddb1..fdbb4e3d0c553162016e3ad5b5364aee187360e5 100644 (file)
@@ -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);