On 09/03/2017 02:27 AM, Mark Thompson wrote:
+ + val = lfind(&p, profile, &len, sizeof(profile[0]), match_profile); + if (val) + return val->v4l2_val; + + return FF_PROFILE_UNKNOWN;Returning FF_PROFILE_UNKNOWN here is bit weird because it mixes the namespaces. I know that's how you handle it below, but still...
shall I return a instead AVERROR(ENOENT)? _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
