[FFmpeg-cvslog] av_get_audio_frame_duration: add IAC

Paul B Mahol git at videolan.org
Wed Oct 31 04:45:25 CET 2012


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Wed Oct 31 03:44:37 2012 +0000| [dc239b3b40adb77ff638f006bc4d633348f3a4ef] | committer: Paul B Mahol

av_get_audio_frame_duration: add IAC

Signed-off-by: Paul B Mahol <onemda at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=dc239b3b40adb77ff638f006bc4d633348f3a4ef
---

 libavcodec/utils.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 2453a5d..2cc33ba 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;
             }



More information about the ffmpeg-cvslog mailing list