[FFmpeg-devel] [PATCH] ensure scale and rate are updated in avi demuxer

Michael Niedermayer michaelni
Wed Jul 30 15:39:01 CEST 2008


On Tue, Jul 29, 2008 at 10:23:50PM -0700, Baptiste Coudurier wrote:
> Hi,
> 
> Ensure that ast->rate and ast->scale are updated after av_set_pts_info
> in case of reduce.
> 
> Should fix #561.

The assert should be changed to check
time_base == scale/rate
that is a/b==c/d <-> a*d == c*b
instead of a==c && b==d

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080730/4eb8b151/attachment.pgp>



More information about the ffmpeg-devel mailing list