add trace
Merge branch 'md_merge142' of https://github.com/sijchen/openh264 into md_merge142
add protection