summaryrefslogtreecommitdiff
path: root/libavformat/apc.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-23 14:57:32 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-01-24 14:13:41 -0500
commit220506d23f39da3e23d3d42fb7061f19cec8052c (patch)
tree5a1621e906a2c3ce4c4b9a2b9c5e36800c142d9e /libavformat/apc.c
parent4340a6363e9ff75dc4e8ce14dc96671623494ed8 (diff)
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.
Diffstat (limited to 'libavformat/apc.c')
-rw-r--r--libavformat/apc.c2
1 files changed, 1 insertions, 1 deletions
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);