mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_lut3d: use av_fopen_utf8()
This commit is contained in:
parent
b6e9c23d55
commit
a2c0746344
|
@ -805,7 +805,7 @@ static av_cold int lut3d_init(AVFilterContext *ctx)
|
||||||
return set_identity_matrix(ctx, 32);
|
return set_identity_matrix(ctx, 32);
|
||||||
}
|
}
|
||||||
|
|
||||||
f = fopen(lut3d->file, "r");
|
f = av_fopen_utf8(lut3d->file, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
ret = AVERROR(errno);
|
ret = AVERROR(errno);
|
||||||
av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut3d->file, av_err2str(ret));
|
av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut3d->file, av_err2str(ret));
|
||||||
|
@ -1588,7 +1588,7 @@ static av_cold int lut1d_init(AVFilterContext *ctx)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
f = fopen(lut1d->file, "r");
|
f = av_fopen_utf8(lut1d->file, "r");
|
||||||
if (!f) {
|
if (!f) {
|
||||||
ret = AVERROR(errno);
|
ret = AVERROR(errno);
|
||||||
av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut1d->file, av_err2str(ret));
|
av_log(ctx, AV_LOG_ERROR, "%s: %s\n", lut1d->file, av_err2str(ret));
|
||||||
|
|
Loading…
Reference in New Issue