resolve unit test warnings

cherry-pick from openh264_v1.0