Commit 71c11236 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

avcodec: remove debug code

parent 28cf0eee
......@@ -989,8 +989,8 @@ static picture_t *lavc_dr_GetFrame(struct AVCodecContext *ctx,
for (int i = 0; i < pic->i_planes; i++)
{
/*if (pic->p[i].i_pitch % aligns[i])
goto no_dr;*/
if (pic->p[i].i_pitch % aligns[i])
goto no_dr;
if (((uintptr_t)pic->p[i].p_pixels) % aligns[i])
goto no_dr;
}
......
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