updated test for avformat to a current function call
some fixes