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/yop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/yop.c') diff --git a/libavformat/yop.c b/libavformat/yop.c index a317825a7c..e5ace8b805 100644 --- a/libavformat/yop.c +++ b/libavformat/yop.c @@ -72,7 +72,7 @@ static int yop_read_header(AVFormatContext *s, AVFormatParameters *ap) // Audio audio_dec = audio_stream->codec; audio_dec->codec_type = AVMEDIA_TYPE_AUDIO; - audio_dec->codec_id = CODEC_ID_ADPCM_IMA_WS; + audio_dec->codec_id = CODEC_ID_ADPCM_IMA_APC; audio_dec->channels = 1; audio_dec->sample_rate = 22050; -- cgit v1.2.3