readded libav test.cpp