mpv-player/mpv — pull request #1041 by mathstuf (2014-08-27 22:22:58+00:00)
Title: Clang static analysis 20140827

Some changes clang's analyzer found.

I haven't gone through all of the reports yet, but feel free to cherry-pick if the branch isn't acceptable as a whole.