Mercurial > mplayer.hg
diff libvo/vo_png.c @ 8148:5b39e79af5fe
removed get_info, using the same sheme as in libmpcodecs instead
author | alex |
---|---|
date | Mon, 11 Nov 2002 15:22:10 +0000 |
parents | 7d2542838d24 |
children | db49cdedb88d |
line wrap: on
line diff
--- a/libvo/vo_png.c Mon Nov 11 14:26:07 2002 +0000 +++ b/libvo/vo_png.c Mon Nov 11 15:22:10 2002 +0000 @@ -18,9 +18,7 @@ #include "video_out.h" #include "video_out_internal.h" -LIBVO_EXTERN (png) - -static vo_info_t vo_info = +static vo_info_t info = { "PNG file", "png", @@ -28,6 +26,8 @@ "" }; +LIBVO_EXTERN (png) + extern int verbose; int z_compression = Z_NO_COMPRESSION; static int framenum = 0; @@ -62,12 +62,6 @@ return 0; } -static const vo_info_t* -get_info(void) -{ - return &vo_info; -} - struct pngdata create_png (char * fname, int image_width, int image_height, int swapped) {