On Fri, Apr 7, 2017 at 10:22 AM, Luca Barbato <lu_z...@gentoo.org> wrote: > On 07/04/2017 16:09, James Almer wrote: >> +int av_spherical_from_name(const char *name); > > It can directly output the enum now, it is fine both ways to me.
Wait a minute, I don't think PROJECTION_UNKNOWN makes much sense to me, given the API and the spec it's based on, and -1 seems not really informative anyway. In my opinion it would be enough to return int and just AVERROR(EINVAL) in case it's not found. James would you be ok with that, or do you have any preference? -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel