ffmpeg: add swr_set_compensation to interface
ActiveAE: use swr_set_compensation for changing resample ratio
[cosmetic] rename non-member var
[Fix][StringUtils] Prevent infinite loop or crash.

Example:

  std::string rep = "1";
  StringUtils::Replace(rep,"",""); //infinite loop
  StringUtils::Replace(rep,"","1"); //crash std::bad_alloc
Merge pull request #3255 from ace20022/fix_replace

[Fix][StringUtils] Prevent infinite loop or crash.
Merge pull request #3240 from FernetMenta/aefixes

ActiveAE: fix setting resample ratio
[externalffmpeg/osx/ios] - fix compile after 429ce9bc69cdee21d3f3be23c1f7147f25b42db6
jsonrpc: fix Playlist.Add/Insert not working with "directory" (fixes #14578)
jsonrpc: cosmetics in JSON schema
[GLES] speed up blending

(texture * color) costs us an extra operation on Mali when sent as varying.
Instead, since textures use the same color for the entire render, send it as
a uniform instead.

This does not apply to fonts, since the font and its shadow are rendered
together, and may not share a color (tested and looks bad).

This increases fps anywhere heavy blending is done.
[GLSL] cut diffuse+blend render time by 1/3

Mainly seen when we're fading in/out.

Mali likes this ordering better for some reason, ops go from 3 to 2 (according
to their profiler). Verified with PVR's compiler that there is no change, it's
2 there either way.
[GLES] Batch textures and their borders

Gives a considerable speedup in scenes with many bordered images
(like settings).
skip dxt compression on all arm boards

The only chipset I'm aware of that can do dxt on arm is Tegra, and that's not
worth slowing everyone else down
[GLES] clear screen (in the right place) before shutdown
fixed, hook GetPreferredResolution in WinSystemEGL