Browse Source

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>
Lukasz Marek 11 years ago
parent
commit
c81a9d13f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      libavdevice/opengl_enc.c

+ 1 - 1
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;
     }