changeset 23990:f57dacd8c419

removed unused variables
author nicodvb
date Sat, 04 Aug 2007 21:16:22 +0000
parents 214c4a4a26ee
children 6b5d9e7e4b17
files stream/stream_dvdnav.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- 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;