From 15e84ed3f141c586e8cb78ed58365cf5a511108a Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 6 Jan 2016 09:18:21 +0100 Subject: avconv: convert to codecpar The switch is not yet complete because the parsers and the bistream filters do not have a new AVCodecParam-based API yet. --- avconv_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'avconv_filter.c') diff --git a/avconv_filter.c b/avconv_filter.c index aaf5851017..3ecad56476 100644 --- a/avconv_filter.c +++ b/avconv_filter.c @@ -134,7 +134,7 @@ static void init_input_filter(FilterGraph *fg, AVFilterInOut *in) s = input_files[file_idx]->ctx; for (i = 0; i < s->nb_streams; i++) { - if (s->streams[i]->codec->codec_type != type) + if (s->streams[i]->codecpar->codec_type != type) continue; if (check_stream_specifier(s, s->streams[i], *p == ':' ? p + 1 : p) == 1) { st = s->streams[i]; -- cgit v1.2.3