avcodec: add FTR audio decoder and parser

This commit is contained in:
Paul B Mahol 2022-08-30 17:14:46 +02:00
parent 2f9fa7e3e9
commit a166b8a19b
11 changed files with 333 additions and 1 deletions

View file

@ -639,6 +639,7 @@ static int get_audio_frame_duration(enum AVCodecID id, int sr, int ch, int ba,
case AV_CODEC_ID_MP2:
case AV_CODEC_ID_MUSEPACK7: return 1152;
case AV_CODEC_ID_AC3: return 1536;
case AV_CODEC_ID_FTR: return 1024;
}
if (sr > 0) {