Remove extranious parentheses (clang)
Comment out dead code in dvbci.cpp to quiet clang++
Convert gcc struct initializers in dvbci.cpp to C++ code (clang++)

Note: The tTime struct also looks to be both endian unsafe and is used in a reinterpreting cast unsafely a couple lines later.
Remove init of vars we don't use (g++ warnings).
Remove the LiveTVPriority setting.

This is another change in the series of changes to remove some
scheduler related features and settings that the developers no longer
believe are needed or want to support.

The scheduler now always tries to avoid interrupting live TV.
Recordings that conflict with live TV are moved to other inputs or
later times as needed.  Live TV is only interrupted if a recording
can not be moved.
FFmpeg resync to SHA1:59d765e30cdabbba174f3d764eecda39ebfc63c2

This resync is now following FFmpeg stable branch: release/1.0
http://git.videolan.org/?p=ffmpeg.git;a=shortlog;h=refs/heads/release/1.0
Fix compilation error following the addition of -Werror=implicit-function-declaration

Which function would have been called is a guess at this point, especially in regards to wtv media (which obviously no-one is using)
Update Myth source base to work with new FFmpeg following 99b0c9d95347b3d4ddea14d0d7ea98c018b1e784
Updated mythmusic to work following FFmpeg resync

Decoded audio is now planar so we can't just copy the decoded data. Simplify the code to use one of the audio utility routine.
Suppress some warnings related to constant being redefined
Fix compilation on various systems.

FFmpeg added a new time.h header file; due to the include path set, this would confuse system headers.
Fix compilation issue on some systems.

This is to fix the error: "error: taking address of temporary array"
Improve the group filter display on the Watch Recordings screen.

Refs #11027.  The first entry in the group list on the left is labeled
"All Programs - <current_group_filter>".  If the current filter is All
Programs, the label is just "All Programs".  This makes it very clear
which group filter is in effect even when the theme doesn't explicitly
add it ot the Watch Recordings screen.
Select the "best" video tracks available for playback

Optimize and speed-up the detection and handling of video streams. Every video streams used to be opened during the scan, and the last one found would be use.
This commit change the behavior as follow:
Scan all streams.
Once scan is completed, search for the best video stream using FFmpeg convenience method av_find_best_stream. And only open the code and initialise the video output for that particular stream.

Also, should an error occur while scanning a particular stream, it is now simply ignored instead of completely stopping the scan.
Rearrange mmx_t union to make gcc happy.

When we initialize with an unsigned long long using:
  mmx_t var = { 0x8000000000000000ULL };
It makes the compiler unhappy because it tries to
assign the mmx_t's .q which is of type long long
and this number is too large to be represented in
a long long. By moving the unsigned long long .uq to
be first in the union the compiler will try that
first and not give a narrowing complaint.
An alternative in C99 code is:
  mmx_t var = { .uq = 0x8000000000000000ULL };
But in C++ the only alternative is:
  mmx_t var;
  var.uq = 0x8000000000000000ULL;
Which to my eyes is less elegant.
Fix type-punning in RTjpegN (caught by g++)
Check for socket errors and handle partial reads in SSDP::ProcessData
Comment out dead code in JobQueue implementation.
Convert FD_SETSIZE to int before comparison with file descriptor.

FreeBSD uses an unsigned number for this variable.
Reverse order of trying gettimeofday() vs ftime()

Both work, but ftime() exists but is depreciated on FreeBSD so we get warnings.