Re: [FFmpeg-devel] [PATCH 01/12] lavfi/vf_idet: replace round and cast by lrint

2015-12-19 Thread Ganesh Ajjanagadde
On Sat, Dec 19, 2015 at 8:24 AM, Michael Niedermayer wrote: > On Sat, Dec 19, 2015 at 08:01:37AM -0800, Ganesh Ajjanagadde wrote: >> On Sat, Dec 19, 2015 at 2:45 AM, Michael Niedermayer >> wrote: >> > On Fri, Dec 18, 2015 at 09:45:27PM -0800, Ganesh Ajjanagadde wrote: >> >> lrint is faster and co

Re: [FFmpeg-devel] [PATCH 01/12] lavfi/vf_idet: replace round and cast by lrint

2015-12-19 Thread Michael Niedermayer
On Sat, Dec 19, 2015 at 08:01:37AM -0800, Ganesh Ajjanagadde wrote: > On Sat, Dec 19, 2015 at 2:45 AM, Michael Niedermayer > wrote: > > On Fri, Dec 18, 2015 at 09:45:27PM -0800, Ganesh Ajjanagadde wrote: > >> lrint is faster and conveys the intent better here. It is safe as long int > >> has > >>

Re: [FFmpeg-devel] [PATCH 01/12] lavfi/vf_idet: replace round and cast by lrint

2015-12-19 Thread Ganesh Ajjanagadde
On Sat, Dec 19, 2015 at 2:45 AM, Michael Niedermayer wrote: > On Fri, Dec 18, 2015 at 09:45:27PM -0800, Ganesh Ajjanagadde wrote: >> lrint is faster and conveys the intent better here. It is safe as long int >> has >> at least 32 bits. >> >> Signed-off-by: Ganesh Ajjanagadde >> --- >> libavfilt

Re: [FFmpeg-devel] [PATCH 01/12] lavfi/vf_idet: replace round and cast by lrint

2015-12-19 Thread Michael Niedermayer
On Fri, Dec 18, 2015 at 09:45:27PM -0800, Ganesh Ajjanagadde wrote: > lrint is faster and conveys the intent better here. It is safe as long int has > at least 32 bits. > > Signed-off-by: Ganesh Ajjanagadde > --- > libavfilter/vf_idet.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) ha

[FFmpeg-devel] [PATCH 01/12] lavfi/vf_idet: replace round and cast by lrint

2015-12-18 Thread Ganesh Ajjanagadde
lrint is faster and conveys the intent better here. It is safe as long int has at least 32 bits. Signed-off-by: Ganesh Ajjanagadde --- libavfilter/vf_idet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_idet.c b/libavfilter/vf_idet.c index e4fe6cb..60ec23a 10