aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wavarc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-05-09 12:28:10 +0200
committerAnton Khirnov <anton@khirnov.net>2023-05-15 10:24:54 +0200
commit8b20d0dcb5cfa8dc34830acdd719fc65b8b5ef67 (patch)
tree6e7d46e73362c1701fe42cc6290aedb9401baf63 /libavcodec/wavarc.c
parent51d6ae099f281fecaab874037225b884eeb17794 (diff)
downloadffmpeg-8b20d0dcb5cfa8dc34830acdd719fc65b8b5ef67.tar.gz
lavc: deprecate AV_CODEC_CAP_SUBFRAMES
There is nothing meaningful the caller can do with it.
Diffstat (limited to 'libavcodec/wavarc.c')
-rw-r--r--libavcodec/wavarc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/wavarc.c b/libavcodec/wavarc.c
index 827803c91d..7bfc276df4 100644
--- a/libavcodec/wavarc.c
+++ b/libavcodec/wavarc.c
@@ -499,7 +499,9 @@ const FFCodec ff_wavarc_decoder = {
FF_CODEC_DECODE_CB(wavarc_decode),
.close = wavarc_close,
.p.capabilities = AV_CODEC_CAP_DR1 |
+#if FF_API_SUBFRAMES
AV_CODEC_CAP_SUBFRAMES |
+#endif
AV_CODEC_CAP_DELAY,
.p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_S16P,