[FFmpeg-devel] [PATCH] check for invalid (0, 0) timebase in avidec
Wed Jul 1 22:46:41 CEST 2009
On Wed, Jul 01, 2009 at 10:16:46PM +0200, Michael Niedermayer wrote:
> On Wed, Jul 01, 2009 at 08:48:48PM +0200, Reimar D?ffinger wrote:
> > this is related to issue 1245.
> > The problem is that the avi demuxer in some places assumes a valid time
> > base, but does not valid the data it reads or (in this case) just never
> > reads and sets any time base at all.
> > This patch fixes this, but seeking still results in
> > ffplay_g: libavformat/avidec.c:1085: avi_read_seek: Assertion `(int64_t)st2->time_base.num*ast2->rate == (int64_t)st2->time_base.den*ast2->scale' failed.
> > and I have no idea what that assert is about...
> is that still needed after my signedness fix?
Doesn't look like it, seems I misunderstood/misanalyzed the issue...
More information about the ffmpeg-devel