lavf: remove unused code