diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-05-16 09:56:49 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2003-05-16 09:56:49 +0000 |
commit | 071f3e913b675c57120ffa087daee39b075a16ae (patch) | |
tree | ba7418921265c8887c4a2d3a4c347c0719528b39 /src/input/libdvdnav/dvdnav.c | |
parent | 05eea1b8fb20e87c2cb846ac6537371dbdb5ed93 (diff) | |
download | xine-lib-071f3e913b675c57120ffa087daee39b075a16ae.tar.gz xine-lib-071f3e913b675c57120ffa087daee39b075a16ae.tar.bz2 |
libdvdnav merge:
* remove some unused files
* dvdnav_internal.h uses the WORDS_BIGENDIAN define from xine-lib's global config.h
* menu command filtering to avoid double commands in the same menu
* message beautification by Jeff Smith
CVS patchset: 4861
CVS date: 2003/05/16 09:56:49
Diffstat (limited to 'src/input/libdvdnav/dvdnav.c')
-rw-r--r-- | src/input/libdvdnav/dvdnav.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/input/libdvdnav/dvdnav.c b/src/input/libdvdnav/dvdnav.c index 0b5fc59c8..2c01fd625 100644 --- a/src/input/libdvdnav/dvdnav.c +++ b/src/input/libdvdnav/dvdnav.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: dvdnav.c,v 1.28 2003/05/11 13:44:05 jcdutton Exp $ + * $Id: dvdnav.c,v 1.29 2003/05/16 09:56:50 mroi Exp $ * */ @@ -51,7 +51,7 @@ static dvdnav_status_t dvdnav_clear(dvdnav_t * this) { memset(&this->pci,0,sizeof(this->pci)); memset(&this->dsi,0,sizeof(this->dsi)); - this->last_cmd_nav_lbn = 0; + this->last_cmd_nav_lbn = SRI_END_OF_CELL; /* Set initial values of flags */ this->position_current.still = 0; @@ -782,7 +782,7 @@ dvdnav_status_t dvdnav_get_next_cache_block(dvdnav_t *this, uint8_t **buf, /* release NAV menu filter, when we reach the same NAV packet again */ if (this->last_cmd_nav_lbn == this->pci.pci_gi.nv_pck_lbn) - this->last_cmd_nav_lbn = 0; + this->last_cmd_nav_lbn = SRI_END_OF_CELL; /* Successfully got a NAV packet */ (*event) = DVDNAV_NAV_PACKET; |