do not check unsigned windowsize for < 0
collapsing duplicate branch
fix pngdetail.cpp
protect against invalid chunk lengths in some tools
fix bug with encoding transparent single-pixel image
unit test was a bit slow like that
predict idat size correctly for interlaced images
avoid too big pixel sizes
Update lodepng.cpp

Rename function because all exported symbol names should start with lodepng to avoid clashes
Update lodepng.h

Rename function because all exported symbol names should start with lodepng to avoid clashes
small tweaks
better bitpointer checks
fix examples
fix for C
Merge branch 'master' of https://github.com/lvandeve/lodepng

# By Lode (10) and others
# Via Lode
* 'master' of https://github.com/lvandeve/lodepng:
  fix for C
  fix examples
  better bitpointer checks
  small tweaks
  Update lodepng.h
  Update lodepng.cpp
  avoid too big pixel sizes
  predict idat size correctly for interlaced images
  unit test was a bit slow like that
  fix bug with encoding transparent single-pixel image
  protect against invalid chunk lengths in some tools
  fix pngdetail.cpp
  collapsing duplicate branch
  do not check unsigned windowsize for < 0

Conflicts:
	lodepng.cpp