Support building with new libavcodec versions.

CODEC_ID_* has been replaced with AV_CODEC_ID_* upstream.
add feature to extend preclusive zone alarm state by x frames
include ExtendAlarmFrames in Presets and enable input for preclusive zones only
Merge master
add ExtendAlarmFrames Fields to Zones and ZonePresets
Revert changelog modification
make db update safe to run multiple times
Update zoneminder.tmpfiles

Incorrect directory
Fix 'Undefined index: filter' php warnings for filter view when called without filter arguments
Merge pull request #373 from m-bene/filterTermsUndefined

Fix 'Undefined index: filter' php warnings for filter view when
do not quote column names in parse filter
Merge pull request #374 from m-bene/parseFilters

do not quote column names in parse filter
Merge pull request #367 from PX03AFK/patch-3

Update zoneminder.tmpfiles
Merge pull request #338 from m-bene/extendPreclusive

add feature to extend preclusive zone alarm state by x frames
use zmDbConnect instead of all the DBI connect stuff
same dvr controlls in event as in monitor
Merge pull request #375 from m-bene/flatLayout

Fix small / cropped DRV controls in event view.  Fixes #356
Ability to skip frames in motion detection.
The reason for this is to make it possible to reduce CPU-load if split-second motion detection is not required.
Move initializer for last_motion_score to avoid compiler warning "...zones will be initialized after ... last_motion_score ... when initialized here"
Fix reload loop on switching skins