Mercurial > libavformat.hg
changeset 3239:319a613c1dd7 libavformat
Read asf file header fields in the right order
Patch by Rafa¸«³l Carr¸«± ( funman videolan org )
author | superdump |
---|---|
date | Tue, 22 Apr 2008 20:08:39 +0000 |
parents | db733a434b2c |
children | 78153a85dccc |
files | asf.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/asf.c Tue Apr 22 11:14:01 2008 +0000 +++ b/asf.c Tue Apr 22 20:08:39 2008 +0000 @@ -186,8 +186,8 @@ asf->hdr.file_size = get_le64(pb); asf->hdr.create_time = get_le64(pb); asf->nb_packets = 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);