diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-02 17:29:21 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-03 01:14:34 +0400 |
commit | c81a9d13f427de55991aab588cdddd18f67e9db7 (patch) | |
tree | 35ef6804fe177ab0e82ef96bdca7b4bfad60e9cb /libavdevice/opengl_enc.c | |
parent | 2384cada120c7898c2e5a1726f4cb468c953d636 (diff) |
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>
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 207fbd0084..9fdaa430f9 100644 --- a/libavdevice/opengl_enc.c +++ b/libavdevice/opengl_enc.c @@ -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; } |