[Ffmpeg-devel] Re: [PATCH] MXF demuxer

Michael Niedermayer michaelni
Tue Jul 18 08:48:34 CEST 2006


On Tue, Jul 18, 2006 at 01:32:34AM +0200, Baptiste Coudurier wrote:
> > [...]
> > 
> > imagine when you click on a save button to save several hours work which
> > you did in a video editor, webpage with a little gif anim or similar
> > and suddenly the shiny GUI dissapears and the commandline presents you
> > with a "assert(desc->sample_rate.num % desc->sample_rate.den == 0) failed"
> > and all your hard work is gone ...
> > 
> Hehe. I fully undertand the point here, but how this is comparable to
> the asserts in mov.c checking the time_rate ?

time_rate is calculated as the gcd of all sample "durations" so the asserts
should never fail 


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is

More information about the ffmpeg-devel mailing list