Anton Khirnov (12020-04-14):
> IIUC some platforms had problems with malloc(0)
> Plus I don't think any valid code should ever malloc zero bytes, so my
> suggestion would be for all malloc wrappers to:
> - av_assert2(size > 0)
> - return NULL otherwise

I think this is a very good idea.

Regards,

-- 
  Nicolas George

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to