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

Michael Niedermayer michaelni
Mon Sep 8 15:12:49 CEST 2008


On Sun, Sep 07, 2008 at 05:39:59PM -0700, Baptiste Coudurier wrote:
> Michael Niedermayer wrote:
> > 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
> > 
> 
> Patch attached.

ok


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

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- 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/20080908/0644c1a1/attachment.pgp>



More information about the ffmpeg-devel mailing list