Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -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; |