@@ -2835,6 +2835,8 @@ int av_get_audio_frame_duration(AVCodecContext *avctx, int frame_bytes)
|
||||
switch (id) {
|
||||
case AV_CODEC_ID_ADPCM_AFC:
|
||||
return frame_bytes / (9 * ch) * 16;
|
||||
case AV_CODEC_ID_ADPCM_DTK:
|
||||
return frame_bytes / (16 * ch) * 28;
|
||||
case AV_CODEC_ID_ADPCM_4XM:
|
||||
case AV_CODEC_ID_ADPCM_IMA_ISS:
|
||||
return (frame_bytes - 4 * ch) * 2 / ch;
|
||||
|
Reference in New Issue
Block a user