History

avfilter/vf_transpose_vt: fix declaration-after-statement

Zhao Zhili committed 3 years ago

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

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
69 AVFilterLink *outlink = ctx->outputs[0];69 AVFilterLink *outlink = ctx->outputs[0];
70 CVPixelBufferRef src;70 CVPixelBufferRef src;
71 CVPixelBufferRef dst;71 CVPixelBufferRef dst;
72 AVFrame *out;
72 73
73 if (s->passthrough)74 if (s->passthrough)
74 return ff_filter_frame(outlink, in);75 return ff_filter_frame(outlink, in);
75 76
76 AVFrame *out = ff_get_video_buffer(outlink, outlink->w, outlink->h);77 out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
77 if (!out) {78 if (!out) {
78 ret = AVERROR(ENOMEM);79 ret = AVERROR(ENOMEM);
79 goto fail;80 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