[FFmpeg-devel] [PATCH] pixdesc: Add API to map color property name to enum value

Vittorio Giovara vittorio.giovara at gmail.com
Wed Sep 20 15:13:22 EEST 2017


Le jour de la Raison, an CCXXV, Vittorio Giovara a écrit :
>* It's to be consistent with the other APIs that map a string to an enum,
*>* like in spherical.c and stereo3d.c.
*
I think they should be fixed. Returning -1 as an error code is a path we
definitely do not want to go again.

Regards,

-- 
  Nicolas George


If this helps, I could modify documentation saying that these functions
will return a "negative value" so that we can change the return value for
every function of this kind in one swoop later on.
-- 
Vittorio


More information about the ffmpeg-devel mailing list