Skip to content

Commit a66243a

Browse files
committed
avformat/aiff: add ADP4 DVI ADPCM support
Signed-off-by: Paul B Mahol <onemda@gmail.com>
1 parent b95b8e5 commit a66243a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libavformat/aiff.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ static const AVCodecTag ff_codec_aiff_tags[] = {
5353
{ AV_CODEC_ID_QDM2, MKTAG('Q','D','M','2') },
5454
{ AV_CODEC_ID_QCELP, MKTAG('Q','c','l','p') },
5555
{ AV_CODEC_ID_SDX2_DPCM, MKTAG('S','D','X','2') },
56+
{ AV_CODEC_ID_ADPCM_IMA_WS, MKTAG('A','D','P','4') },
5657
{ AV_CODEC_ID_NONE, 0 },
5758
};
5859

libavformat/aiffdec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@ static int get_aiff_header(AVFormatContext *s, int size,
157157
break;
158158
case AV_CODEC_ID_ADPCM_G726LE:
159159
codec->bits_per_coded_sample = 5;
160+
case AV_CODEC_ID_ADPCM_IMA_WS:
160161
case AV_CODEC_ID_ADPCM_G722:
161162
case AV_CODEC_ID_MACE6:
162163
case AV_CODEC_ID_SDX2_DPCM:

0 commit comments

Comments
 (0)