[FFmpeg-devel] [PATCH] ensure scale and rate are updated in avi demuxer
Baptiste Coudurier
baptiste.coudurier
Wed Jul 30 23:08:02 CEST 2008
Michael Niedermayer wrote:
> On Wed, Jul 30, 2008 at 01:29:03PM -0700, Baptiste Coudurier wrote:
>> Michael Niedermayer wrote:
>>> On Wed, Jul 30, 2008 at 10:54:43AM -0700, Baptiste Coudurier wrote:
>>>> Hi Michael,
>>>>
>>>> Michael Niedermayer wrote:
>>>>> 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
>>>>>
>>>> Like this ?
>>> yes, but with int64_t casts
>>>
>> Patch updated.
>
> ok
>
Applied.
--
Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA
Smartjog USA Inc. http://www.smartjog.com
Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
More information about the ffmpeg-devel
mailing list