Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-10-31 07:44:37 +0400
committerPaul B Mahol <onemda@gmail.com>2012-10-31 07:44:37 +0400
commitdc239b3b40adb77ff638f006bc4d633348f3a4ef (patch)
treeead338f2d22b77e89c8a271daee4726f3c4b9a1b /libavcodec/utils.c
parent0e4d34e087e708a0211671b56418440de7847be6 (diff)
av_get_audio_frame_duration: add IAC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r--libavcodec/utils.c1
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;
}