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/wmavoice.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/wmavoice.c')
-rw-r--r-- | libavcodec/wmavoice.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavcodec/wmavoice.c b/libavcodec/wmavoice.c index bb98f841a5..44fda0e2d6 100644 --- a/libavcodec/wmavoice.c +++ b/libavcodec/wmavoice.c @@ -2004,7 +2004,11 @@ const FFCodec ff_wmavoice_decoder = { .init = wmavoice_decode_init, .close = wmavoice_decode_end, FF_CODEC_DECODE_CB(wmavoice_decode_packet), - .p.capabilities = AV_CODEC_CAP_SUBFRAMES | AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY, + .p.capabilities = +#if FF_API_SUBFRAMES + AV_CODEC_CAP_SUBFRAMES | +#endif + AV_CODEC_CAP_DR1 | AV_CODEC_CAP_DELAY, .caps_internal = FF_CODEC_CAP_INIT_CLEANUP, .flush = wmavoice_flush, }; |