libav: Avoid use of deprecated fields