[FFmpeg-devel] [PATCH] avfilter/avf_ahistogram: raise minimum acmax to 1

Michael Niedermayer michael at niedermayer.cc
Sat May 21 18:45:12 CEST 2016


On Sat, May 21, 2016 at 03:55:27PM +0200, Paul B Mahol wrote:
> On 5/21/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> > On Fri, May 20, 2016 at 08:04:28PM +0200, Paul B Mahol wrote:
> >> On 5/20/16, Michael Niedermayer <michael at niedermayer.cc> wrote:
> >> > If acmax can be 0 then it could result in a division by 0
> >> > Fixes CID1351345
> >>
> >> But there is cast to double.
> >
> > yes but the result (aa) is assigned to int (h) which is undefined
> > behavior (if it can happen)
> >
> > [...]
> > --
> > Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
> >
> > The real ebay dictionary, page 1
> > "Used only once"    - "Some unspecified defect prevented a second use"
> > "In good condition" - "Can be repaird by experienced expert"
> > "As is" - "You wouldnt want it even if you were payed for it, if you knew
> > ..."
> >
> 
> ok then

applied

thanks


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

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160521/1384ac24/attachment.sig>


More information about the ffmpeg-devel mailing list