summaryrefslogtreecommitdiff
path: root/avconv_filter.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-01-06 09:18:21 +0100
committerAnton Khirnov <anton@khirnov.net>2016-02-23 17:01:58 +0100
commit15e84ed3f141c586e8cb78ed58365cf5a511108a (patch)
treec055bbcf53e280c62de8f78073fca78341344c59 /avconv_filter.c
parent5b9cdf8cba114c41239bf0f9f5e0ccb6977d1c8d (diff)
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.
Diffstat (limited to 'avconv_filter.c')
-rw-r--r--avconv_filter.c2
1 files changed, 1 insertions, 1 deletions
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];