diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 23:52:08 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-10-18 23:52:08 +0000 |
commit | ab89dbd43e2898c7af99387cfb15fff608b02ab5 (patch) | |
tree | 713db496f569b812d208825896301df0ef370e58 | |
parent | 018d0ff973d011ed466026784088bad522dbf7bd (diff) | |
download | ffmpeg-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.c | 2 |
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) |