From 29bf30ec1ea285ea231572fd4c940432e06d6b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Duraffort?= <ivoire@videolan.org> Date: Sat, 14 Dec 2013 10:55:57 +0100 Subject: [PATCH] hqdn3d: fix sizeof mismatch --- modules/video_filter/hqdn3d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/video_filter/hqdn3d.c b/modules/video_filter/hqdn3d.c index f65dbd293940..44f93408371f 100644 --- a/modules/video_filter/hqdn3d.c +++ b/modules/video_filter/hqdn3d.c @@ -137,7 +137,7 @@ static int Open(vlc_object_t *this) if (sys->w[i] > wmax) wmax = sys->w[i]; sys->h[i] = fmt_out->i_height * chroma->p[i].h.num / chroma->p[i].h.den; } - cfg->Line = malloc(wmax*sizeof(int)); + cfg->Line = malloc(wmax*sizeof(unsigned int)); if (!cfg->Line) { free(sys); return VLC_ENOMEM; -- GitLab