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
pull/126/head
Patrice Bensoussan 20 years ago committed by Guillaume Poirier
parent 56edbd818a
commit fa379405bb
  1. 2
      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.file_size = get_le64(pb);
asf->hdr.create_time = get_le64(pb); asf->hdr.create_time = get_le64(pb);
asf->hdr.packets_count = 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.send_time = get_le64(pb);
asf->hdr.play_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);

Loading…
Cancel
Save