diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-11-13 02:48:40 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-11-13 02:48:40 +0100 |
commit | 3e1ac1034535ac19beaa533d7013b9a188363247 (patch) | |
tree | 1fc4348869b27d984d788e3648d7f54d20f6baf6 | |
parent | 2f6bb86f85886a7fb36e8a10e4dd8cc3a1849377 (diff) | |
download | ffmpeg-3e1ac1034535ac19beaa533d7013b9a188363247.tar.gz |
avcodec/utils: Add ATRAC3+ to av_get_audio_frame_duration()
Fixes Ticket3979
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/utils.c | 1 |
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; |