[FFmpeg-cvslog] r14710 - trunk/libavformat/electronicarts.c

pross subversion
Tue Aug 12 10:35:09 CEST 2008


Author: pross
Date: Tue Aug 12 10:35:09 2008
New Revision: 14710

Log:
Electronic Arts demuxer: perform identification of ADPCM EA R2 codec using revision2 flag.


Modified:
   trunk/libavformat/electronicarts.c

Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c	(original)
+++ trunk/libavformat/electronicarts.c	Tue Aug 12 10:35:09 2008
@@ -181,6 +181,7 @@ static int process_audio_header_elements
         }
         switch (revision2) {
         case  8: ea->audio_codec = CODEC_ID_PCM_S16LE_PLANAR; break;
+        case 10: ea->audio_codec = CODEC_ID_ADPCM_EA_R2; break;
         case -1: break;
         default:
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);




More information about the ffmpeg-cvslog mailing list