diff options
author | Anton Khirnov <anton@khirnov.net> | 2023-05-09 12:28:10 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-05-15 10:24:54 +0200 |
commit | 8b20d0dcb5cfa8dc34830acdd719fc65b8b5ef67 (patch) | |
tree | 6e7d46e73362c1701fe42cc6290aedb9401baf63 /libavcodec/misc4.c | |
parent | 51d6ae099f281fecaab874037225b884eeb17794 (diff) | |
download | ffmpeg-8b20d0dcb5cfa8dc34830acdd719fc65b8b5ef67.tar.gz |
lavc: deprecate AV_CODEC_CAP_SUBFRAMES
There is nothing meaningful the caller can do with it.
Diffstat (limited to 'libavcodec/misc4.c')
-rw-r--r-- | libavcodec/misc4.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/misc4.c b/libavcodec/misc4.c index 1bf162e120..72ac944e54 100644 --- a/libavcodec/misc4.c +++ b/libavcodec/misc4.c @@ -179,7 +179,10 @@ const FFCodec ff_misc4_decoder = { .priv_data_size = sizeof(MISC4Context), .init = misc4_init, FF_CODEC_DECODE_CB(misc4_decode), - .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SUBFRAMES | + .p.capabilities = AV_CODEC_CAP_DR1 | +#if FF_API_SUBFRAMES + AV_CODEC_CAP_SUBFRAMES | +#endif AV_CODEC_CAP_CHANNEL_CONF, .p.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_NONE }, |