mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
avfilter/vf_transpose_vt: fix declaration-after-statement
Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
parent
7cca9c07ca
commit
2387328fa2
@ -69,11 +69,12 @@ static int transpose_vt_filter_frame(AVFilterLink *link, AVFrame *in)
|
||||
AVFilterLink *outlink = ctx->outputs[0];
|
||||
CVPixelBufferRef src;
|
||||
CVPixelBufferRef dst;
|
||||
AVFrame *out;
|
||||
|
||||
if (s->passthrough)
|
||||
return ff_filter_frame(outlink, in);
|
||||
|
||||
AVFrame *out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
||||
out = ff_get_video_buffer(outlink, outlink->w, outlink->h);
|
||||
if (!out) {
|
||||
ret = AVERROR(ENOMEM);
|
||||
goto fail;
|
||||
|
Loading…
Reference in New Issue
Block a user