diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-27 13:37:10 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2023-01-29 09:22:57 +0100 |
commit | 8d73f3ce56fc90d840c83e8ab3463474d2d38046 (patch) | |
tree | 2c39943e0e05d06f198a9f80845e49eb88c0eeb7 /libavcodec/g722enc.c | |
parent | 5c0348f3d61ce850fa33fe79b5d2bc49f7b52683 (diff) | |
download | ffmpeg-8d73f3ce56fc90d840c83e8ab3463474d2d38046.tar.gz |
lavc: support AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE in all no-delay encoders
Including fake-delay encoders marked with FF_CODEC_CAP_EOF_FLUSH.
Diffstat (limited to 'libavcodec/g722enc.c')
-rw-r--r-- | libavcodec/g722enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/g722enc.c b/libavcodec/g722enc.c index bc08211b1d..47811cee4d 100644 --- a/libavcodec/g722enc.c +++ b/libavcodec/g722enc.c @@ -375,7 +375,8 @@ const FFCodec ff_adpcm_g722_encoder = { CODEC_LONG_NAME("G.722 ADPCM"), .p.type = AVMEDIA_TYPE_AUDIO, .p.id = AV_CODEC_ID_ADPCM_G722, - .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME, + .p.capabilities = AV_CODEC_CAP_DR1 | AV_CODEC_CAP_SMALL_LAST_FRAME | + AV_CODEC_CAP_ENCODER_REORDERED_OPAQUE, .priv_data_size = sizeof(G722Context), .init = g722_encode_init, .close = g722_encode_close, |