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

Michael Niedermayer michaelni
Thu Mar 1 19:44:47 CET 2007


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

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- 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/20070301/3c1c4123/attachment.pgp>



More information about the ffmpeg-cvslog mailing list