Commit d64cf54b authored by Anton Khirnov's avatar Anton Khirnov

vf_fieldorder: use the name 's' for the pointer to the private context

This is shorter and consistent across filters.
parent 9bbf6c68
...@@ -70,17 +70,15 @@ static int query_formats(AVFilterContext *ctx) ...@@ -70,17 +70,15 @@ static int query_formats(AVFilterContext *ctx)
static int config_input(AVFilterLink *inlink) static int config_input(AVFilterLink *inlink)
{ {
AVFilterContext *ctx = inlink->dst; AVFilterContext *ctx = inlink->dst;
FieldOrderContext *fieldorder = ctx->priv; FieldOrderContext *s = ctx->priv;
int plane; int plane;
/** full an array with the number of bytes that the video /** full an array with the number of bytes that the video
* data occupies per line for each plane of the input video */ * data occupies per line for each plane of the input video */
for (plane = 0; plane < 4; plane++) { for (plane = 0; plane < 4; plane++) {
fieldorder->line_size[plane] = av_image_get_linesize( s->line_size[plane] = av_image_get_linesize(inlink->format, inlink->w,
inlink->format, plane);
inlink->w,
plane);
} }
return 0; return 0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment