[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 13:41:12 EET 2017


>
> +
> +        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?

Kieran


More information about the ffmpeg-devel mailing list