mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
avformat/aiff: add ADP4 DVI ADPCM support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
b95b8e5a22
commit
a66243a201
@ -53,6 +53,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = {
|
||||
{ AV_CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
|
||||
{ AV_CODEC_ID_QCELP, MKTAG('Q','c','l','p') },
|
||||
{ AV_CODEC_ID_SDX2_DPCM, MKTAG('S','D','X','2') },
|
||||
{ AV_CODEC_ID_ADPCM_IMA_WS, MKTAG('A','D','P','4') },
|
||||
{ AV_CODEC_ID_NONE, 0 },
|
||||
};
|
||||
|
||||
|
@ -157,6 +157,7 @@ static int get_aiff_header(AVFormatContext *s, int size,
|
||||
break;
|
||||
case AV_CODEC_ID_ADPCM_G726LE:
|
||||
codec->bits_per_coded_sample = 5;
|
||||
case AV_CODEC_ID_ADPCM_IMA_WS:
|
||||
case AV_CODEC_ID_ADPCM_G722:
|
||||
case AV_CODEC_ID_MACE6:
|
||||
case AV_CODEC_ID_SDX2_DPCM:
|
||||
|
Loading…
Reference in New Issue
Block a user