Trivial changes to improve libav support in xbmc

These are the trivial changes to improve libav support in xbmc: This is not sufficient as libavfilter is very different between FFmpeg and libav. I will ask for help on this, meanwhile these two commits should be harmless and help.