summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authornicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-04 21:16:22 +0000
committernicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-04 21:16:22 +0000
commit3870447956fb8b12252eb9b3f85112c0bacc6bf5 (patch)
tree74ef36cb2d35f68b0b30138c4cbdb42bbc8c784e /stream/stream_dvdnav.c
parent02b7254f93cc9557818a2b8f20aca7d0b5304b47 (diff)
downloadmpv-3870447956fb8b12252eb9b3f85112c0bacc6bf5.tar.bz2
mpv-3870447956fb8b12252eb9b3f85112c0bacc6bf5.tar.xz
removed unused variables
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24010 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 44b1e8ea75..1607c21231 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -162,7 +162,6 @@ static int dvdnav_stream_read(dvdnav_priv_t * priv, unsigned char *buf, int *len
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 void update_title_len(stream_t *stream) {
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 control(stream_t *stream, int cmd, void* arg) {
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_lang_from_aid(stream_t *stream, int aid, unsigned char *buf) {
*/
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 @@ int dvdnav_sid_from_lang(stream_t *stream, unsigned char *language) {
* \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;