[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
Thu Mar 16 17:36:13 EET 2017
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 ?
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- 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/20170316/c7ad37a1/attachment.sig>
More information about the ffmpeg-devel
mailing list