From 220506d23f39da3e23d3d42fb7061f19cec8052c Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Mon, 23 Jan 2012 14:57:32 -0500 Subject: avcodec: add a new codec_id for CRYO APC IMA ADPCM. The stereo layout and extradata is significantly different from that in Westwood IMA ADPCM, so a separate codec_id is warranted. --- libavformat/apc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/apc.c') diff --git a/libavformat/apc.c b/libavformat/apc.c index 238395087c..47ab5c821b 100644 --- a/libavformat/apc.c +++ b/libavformat/apc.c @@ -44,7 +44,7 @@ static int apc_read_header(AVFormatContext *s, AVFormatParameters *ap) return AVERROR(ENOMEM); st->codec->codec_type = AVMEDIA_TYPE_AUDIO; - st->codec->codec_id = CODEC_ID_ADPCM_IMA_WS; + st->codec->codec_id = CODEC_ID_ADPCM_IMA_APC; avio_rl32(pb); /* number of samples */ st->codec->sample_rate = avio_rl32(pb); -- cgit v1.2.1