# HG changeset patch # User nicodvb # Date 1186262182 0 # Node ID f57dacd8c419f3920852a24abb6edb738772cfda # Parent 214c4a4a26ee88cec65420621ffca79967913a75 removed unused variables diff -r 214c4a4a26ee -r f57dacd8c419 stream/stream_dvdnav.c --- a/stream/stream_dvdnav.c Sat Aug 04 15:58:43 2007 +0000 +++ b/stream/stream_dvdnav.c Sat Aug 04 21:16:22 2007 +0000 @@ -162,7 +162,6 @@ case DVDNAV_NAV_PACKET: return event; case DVDNAV_STILL_FRAME: { - dvdnav_still_event_t *still_event = (dvdnav_still_event_t*)(buf); //if (priv->started) dvd_nav_still=1; //else dvdnav_still_skip(priv->dvdnav); // don't let dvdnav stall on this image @@ -211,7 +210,7 @@ static int seek(stream_t *s, off_t newpos) { - uint32_t pos = 0, len = 0, sector = 0; + uint32_t sector = 0; dvdnav_priv_t *priv = s->priv; if(s->end_pos && newpos > s->end_pos) @@ -358,8 +357,6 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) { struct stream_priv_s* p = (struct stream_priv_s*)opts; char *filename; - int event,len,tmplen=0; - uint32_t pos, l2; dvdnav_priv_t *priv; dvdnav_status_t status; @@ -570,7 +567,7 @@ */ int dvdnav_sid_from_lang(stream_t *stream, unsigned char *language) { dvdnav_priv_t * priv=(dvdnav_priv_t*)stream->priv; - uint8_t format, lg, k; + uint8_t lg, k; uint16_t lang, lcode; while(language && strlen(language)>=2) { @@ -597,7 +594,7 @@ * \return 0 on error, 1 if successful */ int dvdnav_lang_from_sid(stream_t *stream, int sid, unsigned char *buf) { - uint8_t lg, k; + uint8_t lg; uint16_t lang; dvdnav_priv_t *priv=(dvdnav_priv_t*)stream->priv; if(sid < 0) return 0;