summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-09-04 17:46:00 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2003-09-04 17:46:00 +0000
commit05be3070495471c655f679e41412e55fb1e2c2bc (patch)
tree1630602bbb4275c24959fe90347eaee0a77fc959 /src
parented507389e092cb117060112b3dfb77afc9bf20bc (diff)
downloadxine-lib-05be3070495471c655f679e41412e55fb1e2c2bc.tar.gz
xine-lib-05be3070495471c655f679e41412e55fb1e2c2bc.tar.bz2
patch from Frantisek (4 bytes alignment)
CVS patchset: 5342 CVS date: 2003/09/04 17:46:00
Diffstat (limited to 'src')
-rw-r--r--src/demuxers/demux_cdda.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demuxers/demux_cdda.c b/src/demuxers/demux_cdda.c
index 2c20b3fb0..db79ca2cd 100644
--- a/src/demuxers/demux_cdda.c
+++ b/src/demuxers/demux_cdda.c
@@ -24,7 +24,7 @@
* linear PCM "decoder" (which in turn sends them directly to the audio
* output target; this is a really fancy CD-playing architecture).
*
- * $Id: demux_cdda.c,v 1.12 2003/08/25 21:51:38 f1rmb Exp $
+ * $Id: demux_cdda.c,v 1.13 2003/09/04 17:46:00 miguelfreitas Exp $
*/
#ifdef HAVE_CONFIG_H
@@ -141,7 +141,7 @@ static int demux_cdda_seek (demux_plugin_t *this_gen, off_t start_pos, int start
start_time /= 1000;
if (start_pos)
- this->input->seek(this->input, start_pos, SEEK_SET);
+ this->input->seek(this->input, start_pos & ~3, SEEK_SET);
else
this->input->seek(this->input, start_time * CD_BYTES_PER_SECOND, SEEK_SET);
this->seek_flag = 1;