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

Baptiste Coudurier baptiste.coudurier
Mon Sep 8 21:40:08 CEST 2008

Michael Niedermayer wrote:
> 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


Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc.                                http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA

More information about the ffmpeg-devel mailing list