diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-06-12 21:25:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-06-13 11:13:22 +0200 |
commit | 9baeff9506a890c8f9f27c08cf331f827c24726a (patch) | |
tree | c8d52b9e57f52cdfff694c7488e25e5a33e72fb7 /libavfilter/video.c | |
parent | 9d0bfc5052fa73ac8df89ec9992d77b07840fdf0 (diff) | |
download | ffmpeg-9baeff9506a890c8f9f27c08cf331f827c24726a.tar.gz |
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
This is more consistent with naming in the rest of Libav.
Diffstat (limited to 'libavfilter/video.c')
-rw-r--r-- | libavfilter/video.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavfilter/video.c b/libavfilter/video.c index 0e10bb7dad..a00f8c1cb2 100644 --- a/libavfilter/video.c +++ b/libavfilter/video.c @@ -169,7 +169,7 @@ static void default_start_frame(AVFilterLink *inlink, AVFilterBufferRef *picref) { AVFilterLink *outlink = NULL; - if (inlink->dst->output_count) + if (inlink->dst->nb_outputs) outlink = inlink->dst->outputs[0]; if (outlink) { @@ -220,7 +220,7 @@ static void default_end_frame(AVFilterLink *inlink) { AVFilterLink *outlink = NULL; - if (inlink->dst->output_count) + if (inlink->dst->nb_outputs) outlink = inlink->dst->outputs[0]; avfilter_unref_buffer(inlink->cur_buf); @@ -261,7 +261,7 @@ static void default_draw_slice(AVFilterLink *inlink, int y, int h, int slice_dir { AVFilterLink *outlink = NULL; - if (inlink->dst->output_count) + if (inlink->dst->nb_outputs) outlink = inlink->dst->outputs[0]; if (outlink) |