Commit d6a1250b authored by bcoudurier's avatar bcoudurier

change assert test due to the new reducing of time_base in av_set_pts_info, fix #561

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14477 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 033b0e2d
......@@ -1026,8 +1026,7 @@ static int avi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp
continue;
// assert(st2->codec->block_align);
assert(st2->time_base.den == ast2->rate);
assert(st2->time_base.num == ast2->scale);
assert((int64_t)st2->time_base.num*ast2->rate == (int64_t)st2->time_base.den*ast2->scale);
index = av_index_search_timestamp(
st2,
av_rescale(timestamp, st2->time_base.den*(int64_t)st->time_base.num, st->time_base.den * (int64_t)st2->time_base.num),
......
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