mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec: add adpcm dat4 decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
7d49abdf47
commit
8a4c3f5258
8 changed files with 29 additions and 1 deletions
|
|
@ -3239,6 +3239,7 @@ static int get_audio_frame_duration(enum AVCodecID id, int sr, int ch, int ba,
|
|||
case AV_CODEC_ID_ADPCM_DTK:
|
||||
return frame_bytes / (16 * ch) * 28;
|
||||
case AV_CODEC_ID_ADPCM_4XM:
|
||||
case AV_CODEC_ID_ADPCM_IMA_DAT4:
|
||||
case AV_CODEC_ID_ADPCM_IMA_ISS:
|
||||
return (frame_bytes - 4 * ch) * 2 / ch;
|
||||
case AV_CODEC_ID_ADPCM_IMA_SMJPEG:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue