|
|
|
@@ -1186,6 +1186,9 @@ static int get_audio_frame_duration(enum AVCodecID id, int sr, int ch, int ba, |
|
|
|
if (id == AV_CODEC_ID_BINKAUDIO_DCT) |
|
|
|
return (480 << (sr / 22050)) / ch; |
|
|
|
} |
|
|
|
|
|
|
|
if (id == AV_CODEC_ID_MP3) |
|
|
|
return sr <= 24000 ? 576 : 1152; |
|
|
|
} |
|
|
|
|
|
|
|
if (ba > 0) { |
|
|
|
|