mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
vf_fieldorder: use the name 's' for the pointer to the private context
This is shorter and consistent across filters.
This commit is contained in:
parent
9bbf6c681a
commit
d64cf54b34
@ -70,17 +70,15 @@ static int query_formats(AVFilterContext *ctx)
|
||||
|
||||
static int config_input(AVFilterLink *inlink)
|
||||
{
|
||||
AVFilterContext *ctx = inlink->dst;
|
||||
FieldOrderContext *fieldorder = ctx->priv;
|
||||
AVFilterContext *ctx = inlink->dst;
|
||||
FieldOrderContext *s = ctx->priv;
|
||||
int plane;
|
||||
|
||||
/** full an array with the number of bytes that the video
|
||||
* data occupies per line for each plane of the input video */
|
||||
for (plane = 0; plane < 4; plane++) {
|
||||
fieldorder->line_size[plane] = av_image_get_linesize(
|
||||
inlink->format,
|
||||
inlink->w,
|
||||
plane);
|
||||
s->line_size[plane] = av_image_get_linesize(inlink->format, inlink->w,
|
||||
plane);
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user