summaryrefslogtreecommitdiffstats
path: root/stream/stream_dvdnav.c
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 23:14:00 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-08-23 23:14:00 +0000
commit4f33b7daedd357e507e60889a15686724b381db9 (patch)
tree7ca73cf7dd375358045c50d69ee65d6bcf6d86c1 /stream/stream_dvdnav.c
parentb7ce6217d6f2647365719a0e510000ab8ca97fdb (diff)
downloadmpv-4f33b7daedd357e507e60889a15686724b381db9.tar.bz2
mpv-4f33b7daedd357e507e60889a15686724b381db9.tar.xz
Removed uninitialized variable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24129 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/stream_dvdnav.c')
-rw-r--r--stream/stream_dvdnav.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stream/stream_dvdnav.c b/stream/stream_dvdnav.c
index 3b030ede68..9030c8690b 100644
--- a/stream/stream_dvdnav.c
+++ b/stream/stream_dvdnav.c
@@ -355,7 +355,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;
dvdnav_priv_t *priv;
- dvdnav_status_t status;
if(p->device) filename = p->device;
else if(dvd_device) filename= dvd_device;
@@ -398,7 +397,7 @@ static int open_s(stream_t *stream,int mode, void* opts, int* file_format) {
update_title_len(stream);
if(!stream->pos)
- mp_msg(MSGT_OPEN,MSGL_ERR, "INIT ERROR: %d, couldn't get init pos %s\r\n", status, dvdnav_err_to_string(priv->dvdnav));
+ mp_msg(MSGT_OPEN,MSGL_ERR, "INIT ERROR: couldn't get init pos %s\r\n", dvdnav_err_to_string(priv->dvdnav));
mp_msg(MSGT_OPEN,MSGL_INFO, "Remember to disable MPlayer's cache when playing dvdnav:// streams (adding -nocache to your command line)\r\n");