* Move setjmp invocation back into decoding function.
Behavior is undefined if longjmp is called after the function containing
setjmp invocation has terminated.
* Revert "Add error checking on jpeg utils (#563)"
This is dead code because longjmp invocation ensures control is returned
to the existing error path.
This reverts commit caea41df75.
* Silence spurious gcc 4.8.4 warning.
Resolve issues related to RTSP Cameras
1. Do not drain the codec at each frame
2. Add variable active to context and remove #ifdef HAVE_FFMPEG
3. Reset return code for encoding when timing problems for pts
4. Set the jpeg error messages to debug level.
5. Comment out the frame timing debug messages that flood log.
1. Revise the developer warnings to treat all warnings as errors
2. Revise a few of the comparisons of signed to unsigned.
3. Isolate the setjmp to separate function since it is warning on 14.04
4. Remove redundant clang OSX test since gcc is really clang according to travis logs
The previous version of jpegutils.c was performing the downsampling of images manually
This commit rewrites the decompression to take advantage of the built in downsampling
and image color space conversion that is part of the JPEG libaries.
This function is currently only called from the vid_mjpegtoyuv420p routine.
* Changed MOTION_LOG macro and remover "%s:" from the format string
Function name will be now auto added
* Re-applied log-update after conflict resolution
* Some old style logging still remaining, updated