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

pross subversion
Sun Jan 10 06:08:43 CET 2010


Author: pross
Date: Sun Jan 10 06:08:42 2010
New Revision: 21116

Log:
do not create Electronic Arts audio stream when unsupported revision2 audio codec is present [issue1516]

Modified:
   trunk/libavformat/electronicarts.c

Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c	Sun Jan 10 05:06:34 2010	(r21115)
+++ trunk/libavformat/electronicarts.c	Sun Jan 10 06:08:42 2010	(r21116)
@@ -192,6 +192,7 @@ static int process_audio_header_elements
         case 16: ea->audio_codec = CODEC_ID_MP3; break;
         case -1: break;
         default:
+            ea->audio_codec = 0;
             av_log(s, AV_LOG_ERROR, "unsupported stream type; revision2=%i\n", revision2);
             return 0;
         }



More information about the ffmpeg-cvslog mailing list