Merge "Fix "ordered comparison between pointer and zero"." am: a844bc9649 am: 08c4130493

am: 0f81984970

Change-Id: I1a5b82fc1c48237b0100cf57f3e2fdd49fe30b23
This commit is contained in:
Tao Bao 2016-11-14 18:42:54 +00:00 committed by android-build-merger
commit c6bed0ab3f

View file

@ -269,7 +269,7 @@ int res_create_multi_display_surface(const char* name, int* frames, int* fps,
printf(" found fps = %d\n", *fps);
}
if (frames <= 0 || fps <= 0) {
if (*frames <= 0 || *fps <= 0) {
printf("bad number of frames (%d) and/or FPS (%d)\n", *frames, *fps);
result = -10;
goto exit;