From 8b91d86c30cdf3fbf780c2a624811421f7bf58ac Mon Sep 17 00:00:00 2001 From: rfelker Date: Fri, 1 Feb 2002 02:49:04 +0000 Subject: [PATCH] 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 --- libvo/vo_gl.c | 2 +- libvo/vo_md5.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index aeb6007a13..436606728c 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -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; diff --git a/libvo/vo_md5.c b/libvo/vo_md5.c index 63bc9547db..2ef4eda4e2 100644 --- a/libvo/vo_md5.c +++ b/libvo/vo_md5.c @@ -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);