mirror of https://github.com/mpv-player/mpv
change init to config in vo_gl and vo_md5 like in the other vo_ modules -- fixes crash caused by the changeover
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4449 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
df47a398f9
commit
8b91d86c30
|
@ -96,7 +96,7 @@ static void resize(int x,int y){
|
|||
* allocate colors and (shared) memory
|
||||
*/
|
||||
static uint32_t
|
||||
init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format,const vo_tune_info_t *info)
|
||||
config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t flags, char *title, uint32_t format,const vo_tune_info_t *info)
|
||||
{
|
||||
// int screen;
|
||||
unsigned int fg, bg;
|
||||
|
|
|
@ -37,7 +37,7 @@ extern char vo_pgm_filename[24];
|
|||
static FILE * md5_file;
|
||||
|
||||
static uint32_t
|
||||
init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format,const vo_tune_info_t *info)
|
||||
config(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint32_t fullscreen, char *title, uint32_t format,const vo_tune_info_t *info)
|
||||
{
|
||||
md5_file = fopen ("md5", "w");
|
||||
return video_out_pgm.config (width, height, d_width,d_height,fullscreen, title, format,info);
|
||||
|
|
Loading…
Reference in New Issue