diff options
author | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-28 09:18:52 +0000 |
---|---|---|
committer | Juergen Keil <jkeil@users.sourceforge.net> | 2001-09-28 09:18:52 +0000 |
commit | 337f1b5ecd93056b2ae8290ec05ed26e47929dc0 (patch) | |
tree | d2fd14dbca19a8de8811410b07b0c0d835c5f6e4 /src | |
parent | 81b60830e8aa59b2d7fddeb48c678ba9df7e13c3 (diff) | |
download | xine-lib-337f1b5ecd93056b2ae8290ec05ed26e47929dc0.tar.gz xine-lib-337f1b5ecd93056b2ae8290ec05ed26e47929dc0.tar.bz2 |
32/64-bit bug in read_cache_read_block block, wrong fileoffset passed to
read_cache_read_block (patch by Koo kyoseon)
CVS patchset: 706
CVS date: 2001/09/28 09:18:52
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_dvd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input/input_dvd.c b/src/input/input_dvd.c index 37a9557dd..4af4a023e 100644 --- a/src/input/input_dvd.c +++ b/src/input/input_dvd.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: input_dvd.c,v 1.24 2001/09/11 11:30:56 miguelfreitas Exp $ + * $Id: input_dvd.c,v 1.25 2001/09/28 09:18:52 jkeil Exp $ */ #ifdef HAVE_CONFIG_H @@ -257,7 +257,7 @@ static buf_element_t *dvd_plugin_read_block (input_plugin_t *this_gen, return NULL; } - if ((buf = read_cache_read_block (this->read_cache, this->file_lbcur*DVD_VIDEO_LB_LEN))) { + if ((buf = read_cache_read_block (this->read_cache, (off_t)this->file_lbcur*DVD_VIDEO_LB_LEN))) { this->file_lbcur++; this->file_size_left -= DVD_VIDEO_LB_LEN; |