Re-get details from nfo file after advancing to first episodedetails
Fix undefined reference caused by wrong detection of gcc builtin atomic functions.
avoid detect folder.jpg under 'add' item.
Check exists before listing dir, to avoid produce error log, fix #14210
fixed: when doing a format conversion from float to 32 bit int, multiply with INT32_MAX - 127, since this is the maximum value that can be stored in 32 bit float and int, if INT32_MAX gets converted to float, it gets rounded to INT32_MAX + 1 which can cause wrap around distortion
Read CD audio USB drive bug fixed

libcdio seems to allow read no more than about 10 audio sectors at once when CD audio device is connected via USB.
This patch makes XBMC read small number of sectors if default one fails. It uses more CPU but allows to use USB CD devices.
Tested on GNU/Linux x86 and RPi. (On Rpi OMXPlayer does not play CD, but I can rip tracks).
backport some constructor initializations from 92e8bc4a4361d730abac9ad3080cd6923e9d551a
CGUISliderControl: only switch between selectors on <Enter> if there are more than one
pvr: fix channel switch for addons using other stream
Generate stable DVD disk IDs by performing CSS first
Get and use correct (removable://) file record from database Fixes DVD resume after resume details already exist
Revert "[AE/CA] - ooppps - typo in last commit (note to self - commit on the same host you compiled it)"

This reverts commit 1c7791d9cfa51c469c876324ade7b037bf2d391a.
- fix regression (stuck ringbuffer after 46min, 62min, 180min - depending on the stream setup). Revert "[AE/CA] - fix a possible overflow in the ringbuffer during readsize calculation (yes we hit this in pvr branch in internalflush - when zapping channels)"

This reverts commit e447c4bb34bbc10e1a97ea779eaaafd54a76e3f7.
- fix race in 2 threads consuming the ringbuffer (dvdplayeraudio calls flush and ca thread still pulls frames) by moving the flush to the ca thread instead - fixes crashing when switching tv channels (this was the real issue the 2 reverted commits before wanted to fix...)
SoftAE: Fix A/V sync issues caused by wrong buffer time calculation

CSoftAE::GetDelay(), CSoftAE::GetCacheTime(), and
CSoftAE::GetCacheTotal() assume in their calculations that m_buffer
contains frames that have sink/encoder frame size. However, m_buffer
actually contains frames in the format received from CSoftAEStream.

This causes varying levels of A/V de-sync depending on other conditions.
On my Linux system I encounter this always when using using HDMI audio
and having the display refresh rate set at 24Hz.

Fix those functions to use the correct frame size.
fixed bug with arial.ttf
fixed: fixed memory leaks in ximadsp.cpp
fixed memory leak in ximatif.cpp
[linux] - fix wrong local FileTime due to not honoring daylight savings time
Use round() rather than MathUtils::round_int() for time, and modulate to unsigned int. Fixes #14205