Minor patches to support older ffmpeg under distro's like Ubuntu 12.04
Enable record support for non-h.264 camera's
Add a #ifdef to include libavcodec/opt.h only for older ffmpeg's which have it
once more
Merge pull request #173 from chetan-prime/feature-h264-videostorage

Minor patches to support older ffmpeg under distro's like Ubuntu 12.04. Also ensure H264 recording only for FFMPEG cameras