[FFmpeg-cvslog] lavd/opengl_enc: fix parentheses in if condition

Lukasz Marek git at videolan.org
Sun Feb 2 22:27:13 CET 2014


ffmpeg | branch: master | Lukasz Marek <lukasz.m.luki at gmail.com> | Sun Feb  2 14:29:21 2014 +0100| [c81a9d13f427de55991aab588cdddd18f67e9db7] | committer: Michael Niedermayer

lavd/opengl_enc: fix parentheses in if condition

Signed-off-by: Lukasz Marek <lukasz.m.luki at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c81a9d13f427de55991aab588cdddd18f67e9db7
---

 libavdevice/opengl_enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavdevice/opengl_enc.c b/libavdevice/opengl_enc.c
index 207fbd0..9fdaa43 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;
     }



More information about the ffmpeg-cvslog mailing list