summaryrefslogtreecommitdiff
path: root/src/demuxers/demux_mpeg.c
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-04-22 21:30:10 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2004-04-22 21:30:10 +0000
commitab15c33b1270d290b551b528308480f73284dd11 (patch)
tree20caf841c5810be3edcb04faafc1f7e70c330cf0 /src/demuxers/demux_mpeg.c
parent12c57c557c0901744178ef1190a8aa120f83e335 (diff)
downloadxine-lib-ab15c33b1270d290b551b528308480f73284dd11.tar.gz
xine-lib-ab15c33b1270d290b551b528308480f73284dd11.tar.bz2
it seems that mux rate was wrong for all mpeg2 demuxers.
(somebody please double check) CVS patchset: 6425 CVS date: 2004/04/22 21:30:10
Diffstat (limited to 'src/demuxers/demux_mpeg.c')
-rw-r--r--src/demuxers/demux_mpeg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_mpeg.c b/src/demuxers/demux_mpeg.c
index b9d2ac18d..fdb9b7b7f 100644
--- a/src/demuxers/demux_mpeg.c
+++ b/src/demuxers/demux_mpeg.c
@@ -19,7 +19,7 @@
*/
/*
- * $Id: demux_mpeg.c,v 1.136 2004/04/09 16:07:10 miguelfreitas Exp $
+ * $Id: demux_mpeg.c,v 1.137 2004/04/22 21:30:10 miguelfreitas Exp $
*
* demultiplexer for mpeg 1/2 program streams
* reads streams of variable blocksizes
@@ -733,8 +733,8 @@ static uint32_t parse_pack(demux_mpeg_t *this) {
this->rate = (buf << 14);
buf = read_bytes (this, 1);
this->rate |= (buf << 6);
+ buf = read_bytes (this, 1);
this->rate |= (buf >> 2);
- read_bytes (this, 1);
} else {
read_bytes(this,3);
}