Merge pull request #51 from ethanhugg/travis1

Add 64bit builds to Travis
Improve handling of help switch in enc test app

welsenc.exe -h is now a valid command which returns success.

No longer prints help text twice in the case when the -h switch
is given along with a wrong cfg.
Merge pull request #53 from varunbpatil/cleanup

Improve handling of help switch in enc test app
Add FreeBSD platform makefile

Add platform-freebsd.mk makefile to allow building on FreeBSD.

OpenH264 builds and runs successfully on FreeBSD 9.2-RELEASE amd64, with both
the gcc and clang compilers.

Note that building i386 binaries with the native toolchain using the -m32 flag
on amd64 FreeBSD is unsupported and will not work, so ENABLE64BIT should always
be set to Yes when compiling on a FreeBSD amd64 system.
Don't link to libdl when building with NO_DYNAMIC_VP defined
Merge pull request #55 from mstorsjo/no-libdl

Don't link to libdl when building with NO_DYNAMIC_VP defined
Rollup of minor fixes found by Martin Ettl
Merge pull request #54 from rmuch/freebsd-build

Add FreeBSD platform makefile
Fixed warnings found by clang.  Removed some trailing whitespace.
Merge remote-tracking branch 'upstream/master' into cosmetic
Use $(AR) instead of explicitly calling 'ar'

This simplifies overriding the command used, e.g. for cross
compilation.
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.
Turn on -Werror for OSX builds
Merge pull request #66 from mstorsjo/valgrind

Don't check for scene changes on forced IDR frames
Replace some fancy stuff with simple function