summaryrefslogtreecommitdiff
path: root/libavformat/apc.c
diff options
context:
space:
mode:
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);