Commit 29bf30ec authored by ivoire's avatar ivoire
Browse files

hqdn3d: fix sizeof mismatch

parent 1c104498
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment