aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAurelien Jacobs <aurel@gnuage.org>2007-10-18 23:52:08 +0000
committerAurelien Jacobs <aurel@gnuage.org>2007-10-18 23:52:08 +0000
commitab89dbd43e2898c7af99387cfb15fff608b02ab5 (patch)
tree713db496f569b812d208825896301df0ef370e58
parent018d0ff973d011ed466026784088bad522dbf7bd (diff)
downloadffmpeg-ab89dbd43e2898c7af99387cfb15fff608b02ab5.tar.gz
better check for video track detection
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/electronicarts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c
index f093e8e199..7cf15efd8b 100644
--- a/libavformat/electronicarts.c
+++ b/libavformat/electronicarts.c
@@ -245,7 +245,7 @@ static int ea_read_header(AVFormatContext *s,
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)