You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
av_get_audio_frame_duration: add IAC
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -2471,6 +2471,7 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes)
|
|||||||
return 6 * frame_bytes / ch;
|
return 6 * frame_bytes / ch;
|
||||||
case AV_CODEC_ID_PCM_LXF:
|
case AV_CODEC_ID_PCM_LXF:
|
||||||
return 2 * (frame_bytes / (5 * ch));
|
return 2 * (frame_bytes / (5 * ch));
|
||||||
|
case AV_CODEC_ID_IAC:
|
||||||
case AV_CODEC_ID_IMC:
|
case AV_CODEC_ID_IMC:
|
||||||
return 4 * frame_bytes / ch;
|
return 4 * frame_bytes / ch;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user