diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-10-31 03:44:37 +0000 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2012-10-31 03:44:37 +0000 |
commit | dc239b3b40adb77ff638f006bc4d633348f3a4ef (patch) | |
tree | ead338f2d22b77e89c8a271daee4726f3c4b9a1b | |
parent | 0e4d34e087e708a0211671b56418440de7847be6 (diff) | |
download | ffmpeg-dc239b3b40adb77ff638f006bc4d633348f3a4ef.tar.gz |
av_get_audio_frame_duration: add IAC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 2453a5d1d9..2cc33ba717 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -2471,6 +2471,7 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes) return 6 * frame_bytes / ch; case AV_CODEC_ID_PCM_LXF: return 2 * (frame_bytes / (5 * ch)); + case AV_CODEC_ID_IAC: case AV_CODEC_ID_IMC: return 4 * frame_bytes / ch; } |