summaryrefslogtreecommitdiffstats
path: root/libvo/vo_yuv4mpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_yuv4mpeg.c')
-rw-r--r--libvo/vo_yuv4mpeg.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/libvo/vo_yuv4mpeg.c b/libvo/vo_yuv4mpeg.c
index 0a6cb3a14f..8d4f40227e 100644
--- a/libvo/vo_yuv4mpeg.c
+++ b/libvo/vo_yuv4mpeg.c
@@ -37,9 +37,8 @@
#include "fastmemcpy.h"
#include "../postproc/rgb2rgb.h"
-LIBVO_EXTERN (yuv4mpeg)
-static vo_info_t vo_info =
+static vo_info_t info =
{
"yuv4mpeg output for mjpegtools (to \"stream.yuv\")",
"yuv4mpeg",
@@ -47,6 +46,8 @@ static vo_info_t vo_info =
""
};
+LIBVO_EXTERN (yuv4mpeg)
+
static int image_width;
static int image_height;
@@ -139,11 +140,6 @@ static uint32_t config(uint32_t width, uint32_t height, uint32_t d_width,
return 0;
}
-static const vo_info_t* get_info(void)
-{
- return &vo_info;
-}
-
/* Only use when h divisable by 2! */
static void swap_fields(uint8_t *ptr, const int h, const int stride)
{