3fps video issue. SVN trunk559
emms not available for ARM platform
Enhacement for extpipe. Added %w and %h variables to use as width and height values in pipe command line
Example: extpipe x264 - --input-res %wx%h --fps %fps --bitrate 2000 --preset ultrafast --quiet -o %f.mp4
Commit by hyperbolic2346
https://github.com/hyperbolic2346/motion/commit/90b81c05baba3f4d6b33302d72eeb44f5532311d
Some bug fixing related to vulnerabilities listed here:
http://packetstormsecurity.com/files/122171/Motion-3.2.12-XSS-CSRF-Buffer-Overflow-SQL-Injection.html
Buffer overflow issue
Jpeg corrupted frames are no longer fatal. Motion will gracefully skip such
Changed log from ERR to NTC, because end of event is not an error
Bugfix: calculate proper size for memset()

The proper idiom is:

  memset(ptr, val, sizeof(*ptr));

These files were using:

  memset(ptr, val, sizeof(ptr));
bugfix: motion.c: calculate proper allocation size

The proper idiom for calculating the size for memory allocation is:

  ptr = malloc(sizeof(*ptr));

The sizeof() dereferences the pointer's type, and allocates enough
memory to store an instance of that type. motion.c was using this idiom:

  ptr = malloc(sizeof(ptr));

This is incorrect, but thankfully fairly harmless in practice since the
pointer type is usually quite large. Change this to the proper idiom.
Sample config for MK808 device
Change netcam modulus check , 16 to 8
Remove not used variable and added better detection of ffmpeg libraries
Added RTSP
Update CHANGELOG and fix configure for RSTP
Fix configure libavformat / libavcodec
Improve #ifdef for not i386 / x86_64 for emms

Conflicts:
	ffmpeg.c
Bugfix for RTSP. Segfault after uncessfull connect because motion does not check for failed connect attempt
remove redundant prefix -- from boundary
Merge tosiara/rtsp branch (commit 46cfcf31d, 2014/05/21)