[FFmpeg-cvslog] r14477 - trunk/libavformat/avidec.c
bcoudurier
subversion
Wed Jul 30 23:07:54 CEST 2008
Author: bcoudurier
Date: Wed Jul 30 23:07:54 2008
New Revision: 14477
Log:
change assert test due to the new reducing of time_base in av_set_pts_info, fix #561
Modified:
trunk/libavformat/avidec.c
Modified: trunk/libavformat/avidec.c
==============================================================================
--- trunk/libavformat/avidec.c (original)
+++ trunk/libavformat/avidec.c Wed Jul 30 23:07:54 2008
@@ -1026,8 +1026,7 @@ static int avi_read_seek(AVFormatContext
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),
More information about the ffmpeg-cvslog
mailing list