mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/opencl: use av_fopen_utf8()
This commit is contained in:
parent
5452d0372c
commit
55755b4ab2
@ -225,7 +225,7 @@ int ff_opencl_filter_load_program_from_file(AVFilterContext *avctx,
|
|||||||
const char *src_const;
|
const char *src_const;
|
||||||
int err;
|
int err;
|
||||||
|
|
||||||
file = fopen(filename, "r");
|
file = av_fopen_utf8(filename, "r");
|
||||||
if (!file) {
|
if (!file) {
|
||||||
av_log(avctx, AV_LOG_ERROR, "Unable to open program "
|
av_log(avctx, AV_LOG_ERROR, "Unable to open program "
|
||||||
"source file \"%s\".\n", filename);
|
"source file \"%s\".\n", filename);
|
||||||
|
Loading…
Reference in New Issue
Block a user