mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
avcodec: add g732_1 parser
This commit is contained in:
@@ -1599,8 +1599,6 @@ static int get_audio_frame_duration(enum AVCodecID id, int sr, int ch, int ba,
|
||||
return 256 * (frame_bytes / 64);
|
||||
if (id == AV_CODEC_ID_RA_144)
|
||||
return 160 * (frame_bytes / 20);
|
||||
if (id == AV_CODEC_ID_G723_1)
|
||||
return 240 * (frame_bytes / 24);
|
||||
|
||||
if (bps > 0) {
|
||||
/* calc from frame_bytes and bits_per_coded_sample */
|
||||
|
||||
Reference in New Issue
Block a user