On 6/17/17 12:21 AM, Mark Thompson wrote:
> ---
> (These three from coverity on the other tine.)
>
>
> libavfilter/vf_hwmap.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/libavfilter/vf_hwmap.c b/libavfilter/vf_hwmap.c
> index 2983528ea..48ebbb6bd 100644
> --- a/libavfilter/vf_hwmap.c
> +++ b/libavfilter/vf_hwmap.c
> @@ -73,6 +73,7 @@ static int hwmap_config_output(AVFilterLink *outlink)
> type = av_hwdevice_find_type_by_name(ctx->derive_device_type);
> if (type == AV_HWDEVICE_TYPE_NONE) {
> av_log(avctx, AV_LOG_ERROR, "Invalid device type.\n");
> + err = AVERROR(EINVAL);
> goto fail;
> }
>
>
Seems good.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel