[Ffmpeg-cvslog] r8175 - trunk/libavformat/swf.c

Baptiste Coudurier baptiste.coudurier
Thu Mar 8 22:28:48 CET 2007


Michael Niedermayer wrote:
> Hi
> 
> On Mon, Mar 05, 2007 at 11:24:24PM +0100, Baptiste Coudurier wrote:
>> Hi
>>
>> Michael Niedermayer wrote:
>>> Hi
>>>
>>> On Thu, Mar 01, 2007 at 06:05:11PM +0100, bcoudurier wrote:
>>>> Author: bcoudurier
>>>> Date: Thu Mar  1 18:05:11 2007
>>>> New Revision: 8175
>>>>
>>>> Modified:
>>>>    trunk/libavformat/swf.c
>>>>
>>>> Log:
>>>> factorize
>>>>
>>>> Modified: trunk/libavformat/swf.c
>>>> ==============================================================================
>>>> --- trunk/libavformat/swf.c	(original)
>>>> +++ trunk/libavformat/swf.c	Thu Mar  1 18:05:11 2007
>>> [...]
>>>>              url_fskip(pb, len);
>>>>          } else {
>>>>              url_fskip(pb, len);
>>>>          }
>>>>      }
>>>> +    if (vst) {
>>>> +        av_set_pts_info(vst, 24, 1, 1000); /* 24 bit pts in ms */
>>>> +        if (swf->ms_per_frame) {
>>>> +            vst->codec->time_base.den = 1000. / swf->ms_per_frame;
>>>> +            vst->codec->time_base.num = 1;
>>>> +        }
>>>> +    }
>>>
>>> this doesnt look correct at all
>>>
>>> vst->codec->time_base= (AVRational){swf->ms_per_frame, 1000};
>>>
>>> might be closer to being correct
>>>
>> Wouldn't that being even closer ?
> 
> yes absolutely
> 

Applied.

-- 
Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA
SMARTJOG S.A.                                    http://www.smartjog.com
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
Phone: +33 1 49966312




More information about the ffmpeg-cvslog mailing list