Unified · Split
| @@ -69,11 +69,12 @@ static int transpose_vt_filter_frame(AVFilterLink *link, AVFrame *in) · 68 unmodified lines | ||
| 69 | 69 | AVFilterLink *outlink = ctx->outputs[0]; |
| 70 | 70 | CVPixelBufferRef src; |
| 71 | 71 | CVPixelBufferRef dst; |
| 72 | + AVFrame *out; | |
| 72 | 73 | |
| 73 | 74 | if (s->passthrough) |
| 74 | 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 | 78 | if (!out) { |
| 78 | 79 | ret = AVERROR(ENOMEM); |
| 79 | 80 | goto fail; |