You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
better check for video track detection
Originally committed as revision 10807 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user