[FFmpeg-devel] [PATCHv8] libavcodec: v4l2: add support for v4l2 mem2mem codecs

Jorge Ramirez jorge.ramirez-ortiz at linaro.org
Sun Sep 3 18:09:23 EEST 2017


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)?


More information about the ffmpeg-devel mailing list