mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
avcodec: add g732_1 parser
This commit is contained in:
parent
d360a79c0a
commit
3601eb0474
4 changed files with 62 additions and 2 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue