mirror of
https://github.com/mpv-player/mpv
synced 2025-01-21 23:23:19 +00:00
avoids warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4385 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bd706e744a
commit
52db9b039a
@ -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);
|
||||
|
@ -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
|
||||
{
|
||||
|
@ -407,6 +407,7 @@ int my_release(void* memory)
|
||||
break;
|
||||
default:
|
||||
//memset(memory, 0xcc, header->size);
|
||||
;
|
||||
}
|
||||
|
||||
header->deadbeef = 0;
|
||||
|
@ -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;
|
||||
}
|
||||
|
2
vobsub.h
2
vobsub.h
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user