av_get_audio_frame_duration: add IAC
authorPaul B Mahol <onemda@gmail.com>
Wed, 31 Oct 2012 03:44:37 +0000 (03:44 +0000)
committerPaul B Mahol <onemda@gmail.com>
Wed, 31 Oct 2012 03:44:37 +0000 (03:44 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/utils.c

index 2453a5d..2cc33ba 100644 (file)
@@ -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;
             }