Changes for compatibility with OpenCV 3.0.0 and libav 11 (one louder release).