Commit 37cb26bf authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avfilter/vf_thumbnail_cuda: Reindent after the previous commit

Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 06045f4b
...@@ -304,7 +304,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) ...@@ -304,7 +304,6 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
static av_cold void uninit(AVFilterContext *ctx) static av_cold void uninit(AVFilterContext *ctx)
{ {
int i;
ThumbnailCudaContext *s = ctx->priv; ThumbnailCudaContext *s = ctx->priv;
if (s->hwctx) { if (s->hwctx) {
...@@ -322,7 +321,7 @@ static av_cold void uninit(AVFilterContext *ctx) ...@@ -322,7 +321,7 @@ static av_cold void uninit(AVFilterContext *ctx)
} }
if (s->frames) { if (s->frames) {
for (i = 0; i < s->n_frames && s->frames[i].buf; i++) for (int i = 0; i < s->n_frames && s->frames[i].buf; i++)
av_frame_free(&s->frames[i].buf); av_frame_free(&s->frames[i].buf);
av_freep(&s->frames); av_freep(&s->frames);
} }
......
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