Fix static analysis detected error regarding undefined array index in dvdringbuf.cpp

Static analysis (scan-build) detected a potential code path such that guess_palette
could be called without having the palette variables initialized, which would result
in indexing m_clut with an undefined value.
(cherry picked from commit 824013456f41f4c90daa1f1a3879a1c9e06c28c5)

Signed-off-by: Stuart Morgan <smorgan@mythtv.org>

Fixes #11550
Fix memory leaks in AC3 encoder
Fix serious out of bounds array write

Double errors had hidden the symptoms.
Updated Spanish/Spain MythFrontend and MythMusic translation
from Antonio Marcos Lopez Alonso

Thank you Antonio!

Closes #11577

Signed-off-by: Nicolas Riendeau <nriendeau@mythtv.org>
Merge branch 'master' of code.mythtv.org:mythtv
Fix another memory leak in MNV NetTree. Same as the last one just in a different place. Coverity 1026723
Simplify LiveTVChain updates during channel changes.

A channel change during Live TV usually involves 4 updates to the
LiveTVChain - starting and stopping the dummy and actual recordings.

On the frontend, each update caused a reload of the tvchain entries
from the database.  This is improved by sending the new contents of
the LiveTVChain as part of the update message from the backend, to
avoid the DB queries.

In addition, the update mechanism on the frontend of using a timer
event to defer the update is removed.  Originally, this was probably
done to allow the DB query to proceed outside the UI thread, but
currently the timer event handler is in the same thread as the message
handler, so this deferral was almost entirely unnecessary.

There is still the minor issue that each update message from the
backend appears to be handled twice by the frontend, though this
doesn't affect correctness.
Fix configure warning.

Following 38f6c3aed2d013089ba5e83afdf623b189902341, comment SHFLAGS line again.
QDateTime::secsTo() returns qint64 in Qt5, int in Qt4. Add cast.
there's no point in comparing frame number to key type

the .map file should now contain the same content as before addition
of proper duration support

Refs #10104
remove duplicate break;

left over from [1805637b] found by cppcheck
Add simple script + template to create a unit test.
remove unused variable

the build bots found a left over from [a7c6c881]
give the temporary variable the same type as the variable it holds
remove unused variable

appears to be a left over from work in [7e9c9d0c]
MythGallery:  Fix coverity ID 1026728 Uninitialized pointer field

In GLSingleView::GLSingleView(): Several fields are not initialized in the
constructor.
MythGame:  Fix coverity ID 1026730 Uninitialized scalar field

Remove the changed variable that Coverity is complaining about doesn't appear
to be used anywhere.
MythNetVision: Fix coverity ID 1026733 Uninitialized pointer field

In NetSearch::NetSearch(): Several fields are not initialized in the
constructor.
MythNetVision: Fix coverity ID  1026734 Uninitialized pointer field

In NetTree::NetTree(): Several pointer fields are not initialized in the
constructor.
Fix coverity ID 700628 Parse warning

In NewIvtcFilter() the option parameter isn't unused.
AudioOutput: Fix coverity ID 700791 Uninitialized scalar field

In AudioOutput::AudioOutput(): pulsewassuspended was not initialized by the
constructor.