mirror of https://git.ffmpeg.org/ffmpeg.git
lavd/opengl_enc: fix parentheses in if condition
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
2384cada12
commit
c81a9d13f4
|
@ -960,7 +960,7 @@ static int opengl_release_window(AVFormatContext *h)
|
|||
#if HAVE_SDL
|
||||
SDL_Quit();
|
||||
#endif
|
||||
} else if ((ret = avdevice_dev_to_app_control_message(h, AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER, NULL , 0) < 0)) {
|
||||
} else if ((ret = avdevice_dev_to_app_control_message(h, AV_DEV_TO_APP_DESTROY_WINDOW_BUFFER, NULL , 0)) < 0) {
|
||||
av_log(opengl, AV_LOG_ERROR, "Application failed to release window buffer.\n");
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue