Fixed by previous commit.
Unified · Split
| @@ -1142,20 +1142,6 @@ static int vk_decode_ffv1_init(AVCodecContext *avctx) · 1141 unmodified lines | |||
| 1142 | return err; | 1142 | return err; |
| 1143 | ctx = dec->shared_ctx; | 1143 | ctx = dec->shared_ctx; |
| 1144 | 1144 | ||
| 1145 | switch (ctx->s.driver_props.driverID) { | ||
| 1146 | case VK_DRIVER_ID_INTEL_PROPRIETARY_WINDOWS: | ||
| 1147 | case VK_DRIVER_ID_INTEL_OPEN_SOURCE_MESA: | ||
| 1148 | if (avctx->strict_std_compliance < FF_COMPLIANCE_UNOFFICIAL) { | ||
| 1149 | av_log(avctx, AV_LOG_ERROR, | ||
| 1150 | "Intel's drivers are unsupported, use -strict -1 to enable acceleration.\n"); | ||
| 1151 | return AVERROR(ENOTSUP); | ||
| 1152 | } else { | ||
| 1153 | av_log(avctx, AV_LOG_WARNING, | ||
| 1154 | "Enabling acceleration on Intel's drivers.\n"); | ||
| 1155 | } | ||
| 1156 | break; | ||
| 1157 | }; | ||
| 1158 | |||
| 1159 | fv = ctx->sd_ctx = av_mallocz(sizeof(*fv)); | 1145 | fv = ctx->sd_ctx = av_mallocz(sizeof(*fv)); |
| 1160 | if (!fv) { | 1146 | if (!fv) { |
| 1161 | err = AVERROR(ENOMEM); | 1147 | err = AVERROR(ENOMEM); |