diff options
author | James Almer <jamrial@gmail.com> | 2013-05-10 16:53:50 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2013-05-10 16:53:50 -0300 |
commit | 67fad0d221458d43edb9037c30171d0adb1d609a (patch) | |
tree | fe6ccd93afeaebf20af25b376c4040f07b8055b0 /libavcodec/utils.c | |
parent | e5e86db178b76026981f97889365ca9701705f2b (diff) | |
download | ffmpeg-67fad0d221458d43edb9037c30171d0adb1d609a.tar.gz |
ADPCM IMA Radical decoder
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2040e6fc0d..d647a23289 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2883,6 +2883,8 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes) return blocks * (((ba - 16) * 2 / 3 * 4) / ch); case AV_CODEC_ID_ADPCM_IMA_DK4: return blocks * (1 + (ba - 4 * ch) * 2 / ch); + case AV_CODEC_ID_ADPCM_IMA_RAD: + return blocks * ((ba - 4 * ch) * 2 / ch); case AV_CODEC_ID_ADPCM_MS: return blocks * (2 + (ba - 7 * ch) * 2 / ch); } |