Partial integration of LIBAV functionality for Linux.