On Thu, Jul 09, 2015 at 03:49:07PM +0000, Gregory J Wolfe wrote: > We have been using Cisco's libopenh264 as part of FFmpeg with good results. > However, function svc_encode_init() in libavcodec/libopenh264enc.c appears to > be setting the frame rate incorrectly. The line of code in question looks > like: > > param.fMaxFrameRate = avctx->time_base.den / avctx->time_base.num; > > Since fMaxFrameRate is of type float, shouldn't this be something like: > > param.fMaxFrameRate = avctx->time_base.den / (double)avctx->time_base.num;
equivalent change made thanks [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB While the State exists there can be no freedom; when there is freedom there will be no State. -- Vladimir Lenin
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel