summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-11-13 02:48:40 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-11-13 02:48:40 +0100
commit3e1ac1034535ac19beaa533d7013b9a188363247 (patch)
tree1fc4348869b27d984d788e3648d7f54d20f6baf6 /libavcodec
parent2f6bb86f85886a7fb36e8a10e4dd8cc3a1849377 (diff)
avcodec/utils: Add ATRAC3+ to av_get_audio_frame_duration()
Fixes Ticket3979 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c
index 5ee6893183..bf2a5b93cc 100644
--- a/libavcodec/utils.c
+++ b/libavcodec/utils.c
@@ -3312,6 +3312,7 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes)
case AV_CODEC_ID_MP1: return 384;
case AV_CODEC_ID_ATRAC1: return 512;
case AV_CODEC_ID_ATRAC3: return 1024;
+ case AV_CODEC_ID_ATRAC3P: return 2048;
case AV_CODEC_ID_MP2:
case AV_CODEC_ID_MUSEPACK7: return 1152;
case AV_CODEC_ID_AC3: return 1536;