[FFmpeg-devel] [PATCH 3/5] lavf/matroskadec: support standard (non-WebM) WebVTT formatting

Nicolas George george at nsup.org
Sat Jun 20 14:11:49 EEST 2020


Andreas Rheinhardt (12020-06-20):
> Unfortunately all pointer arithmetic involving NULL is undefined
> behaviour in C, even NULL + 0.

I am pretty sure the UB is not there, and that NULL+0 is valid. Do you
have the reference?

Anyway, even if it is valid, it is not good style, I agree on that.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200620/4b9c5376/attachment.sig>


More information about the ffmpeg-devel mailing list