fix depricated libav names (fixes compilation for ubuntu 14.04)