VDPAU: improve error handling, Gotham
Merge pull request #4641 from FernetMenta/vdpau

VDPAU:  fixes freeze due to corrupted video stream, Gotham
Merge pull request #4655 from codesnake/allow_restart_of_a_pvr_addon_while_in_create

Allow restart of a PVR addon while it is still creating
Fix memory leak of CGUIViewState

Follow other examples, and use auto_ptr to make sure that the ViewState
object is freed when it goes out of scope

Coverity CID 1211800
Merge pull request #4649 from FernetMenta/vdpau3

VDPAU: fix segfault if vdpau fails to open context
Merge pull request #4647 from FernetMenta/vdpau2

VDPAU: fix cropping for interlaced frames
Merge pull request #3828 from janbar/epg_client_epguid

[pvr] Fix EPG hookdata: Return UniqueBroadcastID
Merge pull request #4653 from FernetMenta/paplayer

paplayer: fix mp4 playback
[rtmp] check m_rtmp for non-NULL - fixes crashes with missing librtmp
Merge pull request #4592 from koying/fixlinhotplug

FIX: [linux] fix & optimize input device checking
Revert "VDPAU: improve error handling, Gotham"

This reverts commit 55030587d56f54a56655fd9ad7e419e4077b7e57, which conflicts with the ffmpeg2 variant.
[depends] move ffmpeg to unified deps
[configure] remove internal ffmpeg
remove ffmpeg from tree
ffmpeg: remove dll wrappers
add ffmpeg lock manager
todo: refactor to own file
ffmpeg: move callbacks into separate file
remove ffmpeg dlls from generated headers
not removing win32 as this might still be needed?
[rpi] setup-sdk.sh: allow overriding of buildroot and xbmc install paths
also don't require root if not needed
add ffmpeg makefile for rpi