[vlc-devel] [PATCH 1/2] Use standard error codes
jb at videolan.org
Mon May 20 08:48:16 CEST 2019
On Sun, 19 May 2019, at 19:46, Rémi Denis-Courmont wrote:
> While this is not complete nor free of ambiguities, this enables a lot
> more expressive error values than the current tiny set. And even then,
> mostly only VLC_EGENERIC and VLC_ENOMEM are ever used.
I don't think this is correct.
This will break several OSes, notably Haiku, for no good reason. They have negative error numbers.
This will make them positive. You need to use the same macro libav, ffmpeg or dav1d have, for this reason.
Jean-Baptiste Kempf - President
+33 672 704 734
More information about the vlc-devel