Commit 76993e3b authored by aurel's avatar aurel

better check for video track detection

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10807 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 65cf4855
...@@ -245,7 +245,7 @@ static int ea_read_header(AVFormatContext *s, ...@@ -245,7 +245,7 @@ static int ea_read_header(AVFormatContext *s,
if (!process_ea_header(s)) if (!process_ea_header(s))
return AVERROR(EIO); return AVERROR(EIO);
if (ea->time_base.num && ea->time_base.den) { if (ea->video_codec) {
/* initialize the video decoder stream */ /* initialize the video decoder stream */
st = av_new_stream(s, 0); st = av_new_stream(s, 0);
if (!st) if (!st)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment