mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
add support for PCM codec
Originally committed as revision 10798 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
93fa8b2bf5
commit
fd402a5a63
@ -139,6 +139,7 @@ static int process_audio_header_elements(AVFormatContext *s)
|
||||
}
|
||||
|
||||
switch (compression_type) {
|
||||
case 0: ea->audio_codec = CODEC_ID_PCM_S16LE; break;
|
||||
case 7: ea->audio_codec = CODEC_ID_ADPCM_EA; break;
|
||||
default:
|
||||
av_log(s, AV_LOG_ERROR, "unsupported stream type; compression_type=%i\n", compression_type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user