[FFmpeg-devel] [PATCH] avi set block align if not set

Michael Niedermayer michaelni
Fri Sep 5 05:55:54 CEST 2008


On Thu, Sep 04, 2008 at 07:36:23PM -0700, Baptiste Coudurier wrote:
> Hi,
> 
> $subject, problem is if block align is not set rate and scale will be
> wrongly set for uncompressed audio (causing A/V desync) in
> ff_parse_specific_params, and packets will be duplicated heavily in
> avi_write_packet. Maybe there is a better place to put this code I don't
> know.

i guess you could just put your code in av_write_header() that way all
muxers have the corrected block_align


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

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- 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/20080905/a4759b27/attachment.pgp>



More information about the ffmpeg-devel mailing list