Merge "Fix "ordered comparison between pointer and zero"."

am: a844bc9649

Change-Id: If12e825a23c17730a35a2875c14d1d25d9d41038
This commit is contained in:
Tao Bao 2016-11-14 18:28:18 +00:00 committed by android-build-merger
commit 08c4130493

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;