git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4d34e
)
av_get_audio_frame_duration: add IAC
author
Paul B Mahol
<onemda@gmail.com>
Wed, 31 Oct 2012 03:44:37 +0000
(
03:44
+0000)
committer
Paul 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
patch
|
blob
|
history
diff --git
a/libavcodec/utils.c
b/libavcodec/utils.c
index
2453a5d
..
2cc33ba
100644
(file)
--- 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;
}