[FFmpeg-devel] [PATCH 2/2] avcodec/h264_direct: Fix runtime error: signed integer overflow: -9 - 2147483647 cannot be represented in type 'int'

Michael Niedermayer michael at niedermayer.cc
Mon Mar 20 02:00:15 EET 2017


On Thu, Mar 16, 2017 at 06:54:36PM +0000, Kieran Kunhya wrote:
> On Thu, 16 Mar 2017 at 15:37 Michael Niedermayer <michael at niedermayer.cc>
> wrote:
> 
> > On Thu, Mar 16, 2017 at 11:41:12AM +0000, Kieran Kunhya wrote:
> > > >
> > > > +
> > > > +        if (pocdiff0 != (int)pocdiff0)
> > > > +            avpriv_request_sample(sl->h264->avctx, "pocdiff0
> > overflow\n");
> > > > +
> > > >
> > >
> > > Do you think this condition will actually happen in the real world apart
> > > from in glitchy live streams?
> >
> > I dont really know, do you prefer a AV_LOG_DEBUG ?
> >
> 
> IMO yes

changed and applied

thx

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

Dictatorship: All citizens are under surveillance, all their steps and
actions recorded, for the politicians to enforce control.
Democracy: All politicians are under surveillance, all their steps and
actions recorded, for the citizens to enforce control.
-------------- 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/20170320/c2493ae2/attachment.sig>


More information about the ffmpeg-devel mailing list