History

avfilter/vf_transpose_vt: fix declaration-after-statement

Zhao Zhili committed 3 years ago

Commit 23873281 parent 7cca9c01 file · +2 −1Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_transpose_vt.c+2−1
@@ -69,11 +69,12 @@ static int transpose_vt_filter_frame(AVFilterLink *link, AVFrame *in) · 68 unmodified lines
6969 AVFilterLink *outlink = ctx->outputs[0];
7070 CVPixelBufferRef src;
7171 CVPixelBufferRef dst;
72+ AVFrame *out;
7273
7374 if (s->passthrough)
7475 return ff_filter_frame(outlink, in);
7576
76− AVFrame *out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
77+ out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
7778 if (!out) {
7879 ret = AVERROR(ENOMEM);
7980 goto fail;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t