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

aurel subversion
Fri Oct 19 01:52:08 CEST 2007


Author: aurel
Date: Fri Oct 19 01:52:08 2007
New Revision: 10807

Log:
better check for video track detection

Modified:
   trunk/libavformat/electronicarts.c

Modified: trunk/libavformat/electronicarts.c
==============================================================================
--- trunk/libavformat/electronicarts.c	(original)
+++ trunk/libavformat/electronicarts.c	Fri Oct 19 01:52:08 2007
@@ -245,7 +245,7 @@ static int ea_read_header(AVFormatContex
     if (!process_ea_header(s))
         return AVERROR(EIO);
 
-    if (ea->time_base.num && ea->time_base.den) {
+    if (ea->video_codec) {
         /* initialize the video decoder stream */
         st = av_new_stream(s, 0);
         if (!st)




More information about the ffmpeg-cvslog mailing list