You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavf/mpeg: Add G.711 A law support
Add G.711 A law support Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
This commit is contained in:
@@ -549,6 +549,9 @@ redo:
|
|||||||
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
} else if (es_type == STREAM_TYPE_AUDIO_AC3) {
|
||||||
codec_id = AV_CODEC_ID_AC3;
|
codec_id = AV_CODEC_ID_AC3;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
|
} else if (es_type == 0x90) {
|
||||||
|
codec_id = AV_CODEC_ID_PCM_ALAW;
|
||||||
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
} else if (m->imkh_cctv && es_type == 0x91) {
|
} else if (m->imkh_cctv && es_type == 0x91) {
|
||||||
codec_id = AV_CODEC_ID_PCM_MULAW;
|
codec_id = AV_CODEC_ID_PCM_MULAW;
|
||||||
type = AVMEDIA_TYPE_AUDIO;
|
type = AVMEDIA_TYPE_AUDIO;
|
||||||
|
Reference in New Issue
Block a user