Commit d679f3d0 authored by Michael Niedermayer's avatar Michael Niedermayer

avfilter/vf_thumbnail_cuda: Avoid mixing declaration and statements

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent b81b8a76
......@@ -269,7 +269,8 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
if (hw_frames_ctx->sw_format == AV_PIX_FMT_NV12 || hw_frames_ctx->sw_format == AV_PIX_FMT_YUV420P ||
hw_frames_ctx->sw_format == AV_PIX_FMT_P010LE || hw_frames_ctx->sw_format == AV_PIX_FMT_P016LE)
{
for (int i = 256; i < HIST_SIZE; i++)
int i;
for (i = 256; i < HIST_SIZE; i++)
hist[i] = 4 * hist[i];
}
......
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