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

Kieran Kunhya kierank at obe.tv
Thu Mar 16 20:54:36 EET 2017


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

Kieran


More information about the ffmpeg-devel mailing list