diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-03 01:06:42 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2023-09-07 00:48:50 +0200 |
commit | e999a09f191b1fe02aea4c634e732057b334a273 (patch) | |
tree | 85d31c28788835b9fd48b50e9623c1c1a6c71b14 /libavdevice/opengl_enc.c | |
parent | 8ba7deb6c094428a73fbc60b5888602bd9b574ec (diff) | |
download | ffmpeg-e999a09f191b1fe02aea4c634e732057b334a273.tar.gz |
all: Replace __FUNCTION__ by __func__
Only the latter is valid ISO C.
Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavdevice/opengl_enc.c')
-rw-r--r-- | libavdevice/opengl_enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c index 80feda7072..b2ac6eb16a 100644 --- a/libavdevice/opengl_enc.c +++ b/libavdevice/opengl_enc.c @@ -152,7 +152,7 @@ typedef struct FFOpenGLFunctions { {\ GLenum err_code; \ if ((err_code = glGetError()) != GL_NO_ERROR) { \ - av_log(ctx, AV_LOG_ERROR, "OpenGL error occurred in '%s', line %d: %d\n", __FUNCTION__, __LINE__, err_code); \ + av_log(ctx, AV_LOG_ERROR, "OpenGL error occurred in '%s', line %d: %d\n", __func__, __LINE__, err_code); \ goto fail; \ } \ }\ |