summaryrefslogtreecommitdiff
path: root/libavformat/yop.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/yop.c
parent4340a6363e9ff75dc4e8ce14dc96671623494ed8 (diff)
downloadffmpeg-220506d23f39da3e23d3d42fb7061f19cec8052c.tar.gz
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/yop.c')
-rw-r--r--libavformat/yop.c2
1 files changed, 1 insertions, 1 deletions
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;