avcodec/utils: Add ATRAC3+ to av_get_audio_frame_duration()

Fixes Ticket3979

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-11-13 02:48:40 +01:00
parent 2f6bb86f85
commit 3e1ac10345
1 changed files with 1 additions and 0 deletions

View File

@ -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;