mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-03 02:49:44 +08:00
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.
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user