Commit 3e1ac103 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: Add ATRAC3+ to av_get_audio_frame_duration()

Fixes Ticket3979
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 2f6bb86f
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment