fix deprecated lavf stuff