Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 11:41:31 +0300
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-08-08 22:59:02 +0300
commit9126ae4b6ba366f8e948a294b1955bcaf858eb16 (patch)
treef4c735382d68dbbcf4ac86a156d3e1c9599d775c /libavdevice/lavfi.c
parent8bd74aafe85c426c8d9ac0aefa7ae860cf3be735 (diff)
use avfilter_pad_get_{type,name} accessor functions
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavdevice/lavfi.c')
-rw-r--r--libavdevice/lavfi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/lavfi.c b/libavdevice/lavfi.c
index 126e5f62ce..0160f9fac8 100644
--- a/libavdevice/lavfi.c
+++ b/libavdevice/lavfi.c
@@ -247,7 +247,7 @@ av_cold static int lavfi_read_header(AVFormatContext *avctx)
for (i = 0, inout = output_links; inout; i++, inout = inout->next) {
AVFilterContext *sink;
- type = inout->filter_ctx->output_pads[inout->pad_idx].type;
+ type = avfilter_pad_get_type(inout->filter_ctx->output_pads, inout->pad_idx);
if (type == AVMEDIA_TYPE_VIDEO && ! buffersink ||
type == AVMEDIA_TYPE_AUDIO && ! abuffersink) {