# HG changeset patch # User aurel # Date 1192751528 0 # Node ID 48526bd11471478428e1ff4d2544e23b2f29df94 # Parent f85d4b3d2d7cbfc65be67e5ce76393db17ab5b2a better check for video track detection diff -r f85d4b3d2d7c -r 48526bd11471 electronicarts.c --- a/electronicarts.c Thu Oct 18 23:50:52 2007 +0000 +++ b/electronicarts.c Thu Oct 18 23:52:08 2007 +0000 @@ -245,7 +245,7 @@ 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)