summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_asf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/demuxers/demux_asf.c')
-rw-r--r--src/demuxers/demux_asf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/demuxers/demux_asf.c b/src/demuxers/demux_asf.c
index b33c83b18..71fc2b22a 100644
--- a/src/demuxers/demux_asf.c
+++ b/src/demuxers/demux_asf.c
@@ -1039,6 +1039,10 @@ static int asf_parse_packet_payload_header(demux_asf_t *this, uint32_t p_hdr_siz
#ifdef LOG
timestamp = get_le32(this); p_hdr_size += 4;
duration = get_le16(this); p_hdr_size += 2;
+#else
+ /* skip the above bytes */
+ this->input->seek (this->input, 6, SEEK_CUR);
+ p_hdr_size += 6;
#endif
lprintf ("timestamp=%"PRId64", duration=%"PRId64"\n", timestamp, duration);