Re: [FFmpeg-devel] [PATCH 1/9] avutil: add FF_RETURN_ON_OVERFLOW

2017-01-07 Thread Rodger Combs
> On Jan 7, 2017, at 02:36, Paul B Mahol wrote: > > On 1/7/17, Michael Niedermayer > wrote: >> On Fri, Jan 06, 2017 at 09:11:10PM -0300, James Almer wrote: >>> On 1/6/2017 4:46 PM, Andreas Cadhalpun wrote:

Re: [FFmpeg-devel] [PATCH 1/9] avutil: add FF_RETURN_ON_OVERFLOW

2017-01-07 Thread Paul B Mahol
On 1/7/17, Michael Niedermayer wrote: > On Fri, Jan 06, 2017 at 09:11:10PM -0300, James Almer wrote: >> On 1/6/2017 4:46 PM, Andreas Cadhalpun wrote: >> > Suggested-by: Rodger Combs >> > Signed-off-by: Andreas Cadhalpun

Re: [FFmpeg-devel] [PATCH 1/9] avutil: add FF_RETURN_ON_OVERFLOW

2017-01-06 Thread Michael Niedermayer
On Fri, Jan 06, 2017 at 09:11:10PM -0300, James Almer wrote: > On 1/6/2017 4:46 PM, Andreas Cadhalpun wrote: > > Suggested-by: Rodger Combs > > Signed-off-by: Andreas Cadhalpun > > --- > > > > Changed the name as suggested by wm4 and the

Re: [FFmpeg-devel] [PATCH 1/9] avutil: add FF_RETURN_ON_OVERFLOW

2017-01-06 Thread James Almer
On 1/6/2017 4:46 PM, Andreas Cadhalpun wrote: > Suggested-by: Rodger Combs > Signed-off-by: Andreas Cadhalpun > --- > > Changed the name as suggested by wm4 and the return value as suggested > by Muhammad Faiz. > There are also two new

[FFmpeg-devel] [PATCH 1/9] avutil: add FF_RETURN_ON_OVERFLOW

2017-01-06 Thread Andreas Cadhalpun
Suggested-by: Rodger Combs Signed-off-by: Andreas Cadhalpun --- Changed the name as suggested by wm4 and the return value as suggested by Muhammad Faiz. There are also two new overflow checks at the end of the series. ---