0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

avoids warnings

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4385 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2002-01-27 17:21:20 +00:00
parent bd706e744a
commit 52db9b039a
5 changed files with 8 additions and 5 deletions

View File

@ -59,6 +59,7 @@ m_config_save_option(m_config_t* config, config_t* conf,char* opt, char *param)
case CONF_TYPE_SUBCONFIG :
return;
default :
;
}
mp_msg(MSGT_CFGPARSER, MSGL_DBG2,"Saving option %s\n",opt);

View File

@ -18,11 +18,12 @@
//#undef TRACE
//#define TRACE printf
extern char *get_path ( char * );
// ...can be set before init_registry() call
char* regpathname = 0;
char* regpathname = NULL;
static char* localregpathname = 0;
static char* localregpathname = NULL;
typedef struct reg_handle_s
{

View File

@ -407,6 +407,7 @@ int my_release(void* memory)
break;
default:
//memset(memory, 0xcc, header->size);
;
}
header->deadbeef = 0;

View File

@ -77,7 +77,7 @@ void decode_nuv( unsigned char *encoded, int encoded_size,
if ( lzo_init() != LZO_E_OK )
{
fprintf ( stderr, "%s\n", "lzo_init() failed !!!" );
return NULL;
return;
}
is_lzo_inited = 1;
}

View File

@ -6,4 +6,4 @@ extern void vobsub_process(void *vob, float pts);
extern void vobsub_reset(void *vob);
extern void vobsub_draw(void *vob, int dxs, int dys, void (*draw_alpha)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride));
#endif MPLAYER_VOBSUB_H
#endif /* MPLAYER_VOBSUB_H */