diff options
author | James Almer <jamrial@gmail.com> | 2022-01-20 16:32:30 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2022-03-15 09:42:47 -0300 |
commit | 7d532f474de2c9dc05e75a8bbb8fc57d11069a8f (patch) | |
tree | df867a5cf431cfd5bc4faff6ff9dc3de1d2ad6ed /libavcodec | |
parent | 0995e1f1b31f6e937a1b527407ed3e850f138098 (diff) | |
download | ffmpeg-7d532f474de2c9dc05e75a8bbb8fc57d11069a8f.tar.gz |
tests: convert to new channel layout-API
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/tests/avcodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tests/avcodec.c b/libavcodec/tests/avcodec.c index 5d0ff9432c..006fd1ade9 100644 --- a/libavcodec/tests/avcodec.c +++ b/libavcodec/tests/avcodec.c @@ -76,7 +76,7 @@ int main(void){ ERR_EXT("Codec %s has unsupported type %s\n", get_type_string(codec->type)); if (codec->type != AVMEDIA_TYPE_AUDIO) { - if (codec->channel_layouts || codec->sample_fmts || + if (codec->ch_layouts || codec->sample_fmts || codec->supported_samplerates) ERR("Non-audio codec %s has audio-only fields set\n"); if (codec->capabilities & (AV_CODEC_CAP_SMALL_LAST_FRAME | |