diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-01-06 09:18:21 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-02-23 17:01:58 +0100 |
commit | 15e84ed3f141c586e8cb78ed58365cf5a511108a (patch) | |
tree | c055bbcf53e280c62de8f78073fca78341344c59 /avconv_filter.c | |
parent | 5b9cdf8cba114c41239bf0f9f5e0ccb6977d1c8d (diff) | |
download | ffmpeg-streaming-15e84ed3f141c586e8cb78ed58365cf5a511108a.zip ffmpeg-streaming-15e84ed3f141c586e8cb78ed58365cf5a511108a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avconv_filter.c b/avconv_filter.c index aaf5851..3ecad56 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]; |