From: Stéphane Borel Date: Wed, 7 Nov 2001 03:37:27 +0000 (+0000) Subject: *Corrected � long time bug (around 0.2.81 I think), that created a X-Git-Tag: 0.2.91~29 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=1dea13db3581a4975cd9b4c4d2b7eb338b92465f;p=vlc *Corrected � long time bug (around 0.2.81 I think), that created a corruption in ifo data. This was the reason why some DVDs that worked with 0.2.80 no longer worked with newer version of vlc. They should work again now. This is certainly one of the last updates of the current DVD plugin until we move to libdvdread that will give us navigation ES. --- diff --git a/plugins/dvd/dvd_ifo.c b/plugins/dvd/dvd_ifo.c index 5effd636ea..56491d8d91 100644 --- a/plugins/dvd/dvd_ifo.c +++ b/plugins/dvd/dvd_ifo.c @@ -2,7 +2,7 @@ * dvd_ifo.c: Functions for ifo parsing ***************************************************************************** * Copyright (C) 1999-2001 VideoLAN - * $Id: dvd_ifo.c,v 1.38 2001/10/13 15:34:21 stef Exp $ + * $Id: dvd_ifo.c,v 1.39 2001/11/07 03:37:27 stef Exp $ * * Authors: Stéphane Borel * German Tischler @@ -2145,7 +2145,7 @@ static void DumpBytes( ifo_t* p_ifo, u8* p_buf, u8** pp_tmp, int i_nb ) { /* If we went too far, load the next buffer */ *pp_tmp = FillBuffer( p_ifo, p_buf, p_ifo->i_pos + 1 ) - + (int)( (*pp_tmp) - (p_buf - DVD_LB_SIZE) ); + + (int)( (*pp_tmp) - (p_buf + DVD_LB_SIZE) ); } return;