vf_hwmap: Add missing error code

pull/272/head
Mark Thompson 8 years ago
parent d9da7151ee
commit 5635c80bf5
  1. 1
      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;
}

Loading…
Cancel
Save