Skip to content

Commit

Permalink
lavd/opengl_enc: fix parentheses in if condition
Browse files Browse the repository at this point in the history
Signed-off-by: Lukasz Marek <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
lukaszmluki authored and michaelni committed Feb 2, 2014
1 parent 2384cad commit c81a9d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libavdevice/opengl_enc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit c81a9d1

Please sign in to comment.