Message ID | 20240322202841.31730-3-anton@khirnov.net |
---|---|
State | Accepted |
Commit | 2d06a7570e78520a5ba6897d9e0964eb65ab9a8c |
Headers | show |
Series | [FFmpeg-devel,01/12] tests/fate/ffmpeg: evaluate thread count in fate-run.sh rather than make | expand |
Context | Check | Description |
---|---|---|
yinshiyou/make_loongarch64 | success | Make finished |
yinshiyou/make_fate_loongarch64 | success | Make fate finished |
andriy/make_x86 | success | Make finished |
andriy/make_fate_x86 | success | Make fate finished |
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c index f3c258bb99..1bb26f44f4 100644 --- a/fftools/cmdutils.c +++ b/fftools/cmdutils.c @@ -998,10 +998,6 @@ int filter_codec_opts(const AVDictionary *opts, enum AVCodecID codec_id, char prefix = 0; const AVClass *cc = avcodec_get_class(); - if (!codec) - codec = s->oformat ? avcodec_find_encoder(codec_id) - : avcodec_find_decoder(codec_id); - switch (st->codecpar->codec_type) { case AVMEDIA_TYPE_VIDEO: prefix = 'v';