[FFmpeg-devel] [PATCH] avfilter/yadif: Fix time base for large denominators
Michael Niedermayer
michael at niedermayer.cc
Sun May 23 15:54:50 EEST 2021
On Fri, May 21, 2021 at 11:45:01AM -0400, Tom Boshoven wrote:
> On Fri, May 21, 2021 at 11:28 AM Tom Boshoven <tom at jwplayer.com> wrote:
>
> > + outlink->time_base = av_mul_q(outlink->time_base, (AVRational){2, 1});
> >
>
> This should be {1, 2} .
> I'll fix this after I get some feedback.
yes, av_mul_q() is better
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Rewriting code that is poorly written but fully understood is good.
Rewriting code that one doesnt understand is a sign that one is less smart
than the original author, trying to rewrite it will not make it better.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210523/42b40bb7/attachment.sig>
More information about the ffmpeg-devel
mailing list