Fixed warnings found by clang.  Removed some trailing whitespace.
Merge remote-tracking branch 'upstream/master' into cosmetic
Don't check for scene changes on forced IDR frames

For the first encoded frame, is bEncCurFrmAsIdrFlag true
while bIdrPeriodFlag is false.

Previously, the scene detection code unnecessarily checked for
a scene change in the first encoded frame (where the reference
frame was an uninitialized frame), triggering valgrind warnings
about using uninitialized memory.
Fix warning and turn on -Werror for Travis
Move -Werror to platform file.  Also, %zu can't be used on Windows.
Use %llu instead to print a size_t.
Cast pointer math to long long int
Merge pull request #59 from ethanhugg/cosmetic

Fixed warnings found by clang.  Removed some trailing whitespace.
Merge pull request #66 from mstorsjo/valgrind

Don't check for scene changes on forced IDR frames