mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 13:10:37 +00:00
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:
parent
2f6bb86f85
commit
3e1ac10345
@ -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_MP1: return 384;
|
||||||
case AV_CODEC_ID_ATRAC1: return 512;
|
case AV_CODEC_ID_ATRAC1: return 512;
|
||||||
case AV_CODEC_ID_ATRAC3: return 1024;
|
case AV_CODEC_ID_ATRAC3: return 1024;
|
||||||
|
case AV_CODEC_ID_ATRAC3P: return 2048;
|
||||||
case AV_CODEC_ID_MP2:
|
case AV_CODEC_ID_MP2:
|
||||||
case AV_CODEC_ID_MUSEPACK7: return 1152;
|
case AV_CODEC_ID_MUSEPACK7: return 1152;
|
||||||
case AV_CODEC_ID_AC3: return 1536;
|
case AV_CODEC_ID_AC3: return 1536;
|
||||||
|
Loading…
Reference in New Issue
Block a user