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

Michael Niedermayer michaelni
Tue Mar 6 22:50:46 CET 2007


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

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20070306/472cac4b/attachment.pgp>



More information about the ffmpeg-cvslog mailing list