[FFmpeg-cvslog] r10798 - trunk/libavformat/electronicarts.c
aurel
subversion
Fri Oct 19 01:05:30 CEST 2007
Author: aurel
Date: Fri Oct 19 01:05:30 2007
New Revision: 10798
Log:
add support for PCM codec
Modified:
trunk/libavformat/electronicarts.c
Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c (original)
+++ trunk/libavformat/electronicarts.c Fri Oct 19 01:05:30 2007
@@ -139,6 +139,7 @@ static int process_audio_header_elements
}
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);
More information about the ffmpeg-cvslog
mailing list