summaryrefslogtreecommitdiff
path: root/src/demuxers
diff options
context:
space:
mode:
authorPetri Hintukainen <phintuka@users.sourceforge.net>2012-02-14 22:26:28 +0200
committerPetri Hintukainen <phintuka@users.sourceforge.net>2012-02-14 22:26:28 +0200
commitc7b56e4119bc8870fc4f35ac38159414cfe54ff1 (patch)
treedaa4a41dde50a45b5a14a98bd8c4a231a6345a94 /src/demuxers
parent428214feb6e7f8ac24e64d9c6d8fbd5382bf539a (diff)
parent8104053a5d71f7ca8c673469d81fc961542e7560 (diff)
downloadxine-lib-c7b56e4119bc8870fc4f35ac38159414cfe54ff1.tar.gz
xine-lib-c7b56e4119bc8870fc4f35ac38159414cfe54ff1.tar.bz2
Merge from 1.1
--HG-- rename : src/xine-utils/xineutils.h => include/xine/xineutils.h
Diffstat (limited to 'src/demuxers')
-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);