summaryrefslogtreecommitdiffstats
path: root/libvo/vo_md5sum.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_md5sum.c')
-rw-r--r--libvo/vo_md5sum.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libvo/vo_md5sum.c b/libvo/vo_md5sum.c
index 35ce3a645e..4ad300ce74 100644
--- a/libvo/vo_md5sum.c
+++ b/libvo/vo_md5sum.c
@@ -104,12 +104,10 @@ void md5sum_write_error(void) {
static uint32_t preinit(const char *arg)
{
opt_t subopts[] = {
- {"outfile", OPT_ARG_MSTRZ, &md5sum_outfile, NULL},
- {NULL}
+ {"outfile", OPT_ARG_MSTRZ, &md5sum_outfile, NULL, 0},
+ {NULL, 0, NULL, NULL, 0}
};
- char *buf; /* buf is used to store parsed string values */
-
mp_msg(MSGT_VO, MSGL_INFO, "%s: %s\n", info.short_name,
MSGTR_VO_ParsingSuboptions);
@@ -204,7 +202,7 @@ static uint32_t draw_image(mp_image_t *mpi)
uint32_t strideV = mpi->stride[2];
auth_md5Ctx md5_context;
- int i;
+ unsigned int i;
if (mpi->flags & MP_IMGFLAG_PLANAR) { /* Planar */
if (mpi->flags & MP_IMGFLAG_YUV) { /* Planar YUV */