ffmpeg compatibility fix for matroska embedded subtitles

Commit 2626cc4580bfd560c6983338d77b2c11c16af94f in the ffmpeg repo
changed the codec id of matroska embedded S_TEXT/UTF-8 subtitles
from CODEC_ID_TEXT to AV_CODEC_ID_SUBRIP. That commit is part of
ffmpeg 1.0 and later.

Add the new codec id to provide compatibility for the updated
ffmpeg library and external ffmpeg libraries.
Remove obsolete ffmpeg version check (52,0,0)

This test (which presumably checks for LIBAVCODEC_VERSION_MAJOR >= 52)
seems both obsolete and incorrect. The major version is shifted 16 bits,
not 12. Major version 52 was introduced in commit
dd1c8f3e6e5380f993c86750bb09fd42e130143f (from Sept 8, 2008) so this check
is anyhow obsolete.
Remove obsolete libavformat version check (52,14,0)

This version of libavformat is from May 22, 2008
(commit 79d7836a5e213d547629555e3f1157e7197aef68).

The first release to include it was ffmpeg 0.5 (3 March 2009).
Remove obsolete libavcodec version check (52,38,1)

This version of libavcodec is from Nov 10, 2008
(commit 3155716677eac826b998b487db66927796f6a833).

The first release to include it was ffmpeg 0.6 (15 June 2010).
Remove obsolete libavformat version check (52,83,0)

This version of libavformat is from Oct 15, 2010
(commit 03700d399bcc749ad7916f2d39a99527f37c8b6e).

The first release to include it was ffmpeg 0.7.1 (24 June 2011).
Update libavcodec version check

Make the version check compatible with both ffmpeg and libav.
Also add comments describing when the API change was made for
both libraries.
Update libavfilter version check

Make the version check compatible with both ffmpeg and libav.
Also add comments describing when the API change was made for
both libraries.
[WIN32] fixed: setup file name got the branch name back.
Merge pull request #2597 from Alphix/ffmpeg-libav-fixes

ffmpeg and libav compatibility fixes
StringUtils::FindWords fix dead loop.
Merge pull request #2617 from ulion/fix_findword_deadloop

StringUtils::FindWords fix dead loop (introduced by PR #2536)
[win32] fixed: DX runtime setup was not included after 9eaf1cd
Merge pull request #2615 from a11599/buildsetupfix

[win32] fixed: DX runtime setup was not included after 9eaf1cd
Merge remote-tracking branch 'origin/master' into android-neon-xaf-set_top